From 5e11ba05ba62d2d91d5654991489b66561687f92 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 25 Apr 2025 10:21:40 -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..0c283c98b 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 @@ -415,6 +415,10 @@ class StringService { return this.translationService.getTranslation("updateAppSettings"); } + get insufficientPermissions() { + return this.translationService.getTranslation("insufficientPermissions"); + } + getDbFindMonitorById(monitorId) { return this.translationService .getTranslation("dbFindMonitorById")