oneuptime/CommonUI
Simon Larsen 808b3512f3
refactor: Improve clarity of declaredBy field assignment in SendCreatedResourceNotification.ts
This commit refactors the code in SendCreatedResourceNotification.ts to improve the clarity of how the "declaredBy" field is assigned. The code now checks if the incident has a createdByProbe and createdByUser, and assigns the appropriate value to "declaredBy" based on the available information. This change enhances the readability and maintainability of the code.
2024-06-21 11:44:19 +01:00
..
src refactor: Improve clarity of declaredBy field assignment in SendCreatedResourceNotification.ts 2024-06-21 11:44:19 +01:00
.dockerignore
.gitignore
index.ts
jest.config.json refactor: Update jest.config.json files with testPathIgnorePatterns 2024-06-11 14:52:55 +01:00
package-lock.json Merge remote-tracking branch 'origin/snyk-upgrade-e85a20baed82dca9b23b1e6d43058393' 2024-06-18 13:35:13 +01:00
package.json Merge pull request #1491 from OneUptime/snyk-upgrade-172a12f064e961ffc3354f68f2eb7cb7 2024-06-18 13:33:46 +01:00
README.md
setupTest.js refactor: Update import statement for jest in setupTest.js 2024-06-14 13:40:33 +01:00
tsconfig.json

OneUptime Common Library

The OneUptime Common Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible.