fix: constructure

This commit is contained in:
cihat committed 2025-02-11 07:43:39 +03:00
1 parent d0e09fe77f
commit c6b3932677
9 files changed
+33 -37

No files matched your search

+2 -2
View File
@@ -10,9 +10,9 @@ import { successMessages, errorMessages } from "../utils/messages.js";
const SERVICE_NAME = "statusPageController";
class StatusPageController {
constructor(db) {
constructor(db, stringService) {
this.db = db;
this.stringService = ServiceRegistry.get(StringService.SERVICE_NAME);
this.stringService = stringService;
}
createStatusPage = async (req, res, next) => {