Use the localization service for user facing strings.

This commit is contained in:
Skorpios committed 2025-02-17 09:12:11 -08:00
1 parent e4e3f9cc63
commit f22b67ad0a
4 files changed
+94 -57

No files matched your search

+3 -2
View File
@@ -187,7 +187,7 @@ const startApp = async () => {
logger
);
const statusService = new StatusService(db, logger);
const notificationService = new NotificationService(emailService, db, logger, networkService);
const notificationService = new NotificationService(emailService, db, logger, networkService, stringService);
const jobQueue = new JobQueue(
@@ -274,7 +274,8 @@ const startApp = async () => {
);
const notificationController = new NotificationController(
ServiceRegistry.get(NotificationService.SERVICE_NAME)
ServiceRegistry.get(NotificationService.SERVICE_NAME),
ServiceRegistry.get(StringService.SERVICE_NAME)
);
const distributedUptimeController = new DistributedUptimeController(