diff --git a/App/FeatureSet/Workers/Jobs/StatusPage/SendReportsToSubscribers.ts b/App/FeatureSet/Workers/Jobs/StatusPage/SendReportsToSubscribers.ts index 6aad662ec7..a149a32fd0 100644 --- a/App/FeatureSet/Workers/Jobs/StatusPage/SendReportsToSubscribers.ts +++ b/App/FeatureSet/Workers/Jobs/StatusPage/SendReportsToSubscribers.ts @@ -50,7 +50,7 @@ RunCron( }, }); - await StatusPageService.sendEmailReportToSubscribers({ + await StatusPageService.sendEmailReport({ statusPageId: statusPageToSendReport.id!, }); } diff --git a/CommonProject/package-lock.json b/CommonProject/package-lock.json index 4bf964ef6e..87113f609c 100644 --- a/CommonProject/package-lock.json +++ b/CommonProject/package-lock.json @@ -10,11 +10,9 @@ "license": "Apache-2.0", "dependencies": { "Common": "file:../Common", - "Model": "file:../Model" }, "devDependencies": { - "@faker-js/faker": "^8.0.2", "@types/jest": "^27.5.2", "@types/node": "^17.0.22", "jest": "^27.5.1", @@ -33,7 +31,7 @@ "json5": "^2.2.3", "moment": "^2.30.1", "moment-timezone": "^0.5.45", - "posthog-js": "^1.139.3", + "posthog-js": "^1.139.6", "reflect-metadata": "^0.2.2", "slugify": "^1.6.5", "typeorm": "^0.3.20", @@ -53,7 +51,6 @@ "license": "Apache-2.0", "dependencies": { "Common": "file:../Common", - "typeorm": "^0.3.20" }, "devDependencies": { @@ -689,22 +686,6 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "node_modules/@faker-js/faker": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.3.1.tgz", - "integrity": "sha512-FdgpFxY6V6rLZE9mmIBb9hM0xpfvQOSNOLnzolzKwsE1DH+gC7lEKV1p1IbR0lAYyvYd5a4u3qWJzowUkw1bIw==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/fakerjs" - } - ], - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=6.14.13" - } - }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", diff --git a/CommonProject/package.json b/CommonProject/package.json index 609e0c7516..5dc59808ca 100644 --- a/CommonProject/package.json +++ b/CommonProject/package.json @@ -13,7 +13,6 @@ "author": "OneUptime (https://oneuptime.com/)", "license": "Apache-2.0", "devDependencies": { - "@faker-js/faker": "^8.0.2", "@types/jest": "^27.5.2", "@types/node": "^17.0.22", "jest": "^27.5.1",