mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
2c7b845cb6
This commit modifies the AnalyticsDatabaseService by initializing the countPositive variable with a default value of 0 when the strResult is null or undefined. This change ensures that countPositive is always assigned a value, even when there is no valid strResult. The modification improves the reliability of the countPositive variable and prevents potential errors when using it in subsequent calculations. Co-authored-by: [Author Name] |
||
---|---|---|
.. | ||
API | ||
Docs | ||
Infrastructure | ||
Middleware | ||
Services | ||
Tests | ||
Types | ||
Utils | ||
.dockerignore | ||
BillingConfig.ts | ||
DatabaseConfig.ts | ||
EnvironmentConfig.ts | ||
jest.config.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
test-setup.sh | ||
tsconfig.json |
OneUptime Common Server Library
The OneUptime Common Server Library is a collection of shared components, utilities that are used across the OneUptime platform. This library is built with Node.js and TypeScript. It includes utilities like database connection, and query builders, etc.