oneuptime/CommonServer
Simon Larsen 2c7b845cb6
refactor: Initialize countPositive with a default value of 0 in AnalyticsDatabaseService
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]
2024-07-25 17:57:33 -06:00
..
API refactor: Add support for reportDataInDays and isReportEnabled in StatusPageSubscriberService 2024-07-24 12:53:18 -06:00
Docs refactor: Update CodeRepositoryUtil to include serviceRepository parameter in createBranch and createOrCheckoutBranch 2024-06-13 14:11:09 +01:00
Infrastructure refactor: Add support for reportDataInDays and isReportEnabled in StatusPageSubscriberService 2024-07-24 12:53:18 -06:00
Middleware chore: Update import paths for CodeRepository to CopilotCodeRepository 2024-07-09 13:53:50 +01:00
Services refactor: Initialize countPositive with a default value of 0 in AnalyticsDatabaseService 2024-07-25 17:57:33 -06:00
Tests ```text 2024-07-02 11:14:42 +01:00
Types refactor: Update BlogTitleAndDescription styling for better readability 2024-07-22 20:09:27 -06:00
Utils refactor: Update npm dependency to latest stable version 2024-07-25 17:25:16 -06:00
.dockerignore
BillingConfig.ts refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
DatabaseConfig.ts refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
EnvironmentConfig.ts refactor: Update install.sh to support Windows OS 2024-06-27 10:50:32 +01:00
jest.config.json refactor: Update jest.config.json files with testPathIgnorePatterns 2024-06-11 14:52:55 +01:00
package-lock.json chore: Update package.json dependencies for CommonProject 2024-07-25 07:42:45 -06:00
package.json chore: Update package.json dependencies for CommonProject 2024-07-25 07:42:45 -06:00
README.md Refactor CommonUI README.md to update project description 2024-03-14 14:07:07 +00:00
test-setup.sh refactor: Update environment variable setup in test-setup.sh 2024-06-03 13:37:23 +01:00
tsconfig.json Update tsconfig.json files with resolveJsonModule option 2024-04-08 14:03:07 +01:00

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.