From c8919cca83189df7aff560f6bcaf0bbdc190c890 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 25 Apr 2025 12:47:07 -0700 Subject: [PATCH] add missing getter --- server/service/stringService.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/server/service/stringService.js b/server/service/stringService.js index de900b23a..d89ef41d4 100755 --- a/server/service/stringService.js +++ b/server/service/stringService.js @@ -189,26 +189,26 @@ class StringService { get telegramRequiresBotTokenAndChatId() { return this.translationService.getTranslation("telegramRequiresBotTokenAndChatId"); } - + get webhookUrlRequired() { return this.translationService.getTranslation("webhookUrlRequired"); } - + get platformRequired() { return this.translationService.getTranslation("platformRequired"); } - + get testNotificationFailed() { return this.translationService.getTranslation("testNotificationFailed"); } get monitorUpAlert() { return this.translationService.getTranslation("monitorUpAlert"); - } - - get monitorDownAlert() { + } + + get monitorDownAlert() { return this.translationService.getTranslation("monitorDownAlert"); - } + } getWebhookUnsupportedPlatform(platform) { return this.translationService @@ -420,6 +420,10 @@ class StringService { .getTranslation("dbFindMonitorById") .replace("${monitorId}", monitorId); } + + get dbUserExists() { + return this.translationService.getTranslation("dbUserExists"); + } } export default StringService;