add missing getter
This commit is contained in:
1 parent
8fec35c299
commit
c8919cca83
1 file changed
+11
-7
@@ -189,26 +189,26 @@ class StringService {
|
|||||||
get telegramRequiresBotTokenAndChatId() {
|
get telegramRequiresBotTokenAndChatId() {
|
||||||
return this.translationService.getTranslation("telegramRequiresBotTokenAndChatId");
|
return this.translationService.getTranslation("telegramRequiresBotTokenAndChatId");
|
||||||
}
|
}
|
||||||
|
|
||||||
get webhookUrlRequired() {
|
get webhookUrlRequired() {
|
||||||
return this.translationService.getTranslation("webhookUrlRequired");
|
return this.translationService.getTranslation("webhookUrlRequired");
|
||||||
}
|
}
|
||||||
|
|
||||||
get platformRequired() {
|
get platformRequired() {
|
||||||
return this.translationService.getTranslation("platformRequired");
|
return this.translationService.getTranslation("platformRequired");
|
||||||
}
|
}
|
||||||
|
|
||||||
get testNotificationFailed() {
|
get testNotificationFailed() {
|
||||||
return this.translationService.getTranslation("testNotificationFailed");
|
return this.translationService.getTranslation("testNotificationFailed");
|
||||||
}
|
}
|
||||||
|
|
||||||
get monitorUpAlert() {
|
get monitorUpAlert() {
|
||||||
return this.translationService.getTranslation("monitorUpAlert");
|
return this.translationService.getTranslation("monitorUpAlert");
|
||||||
}
|
}
|
||||||
|
|
||||||
get monitorDownAlert() {
|
get monitorDownAlert() {
|
||||||
return this.translationService.getTranslation("monitorDownAlert");
|
return this.translationService.getTranslation("monitorDownAlert");
|
||||||
}
|
}
|
||||||
|
|
||||||
getWebhookUnsupportedPlatform(platform) {
|
getWebhookUnsupportedPlatform(platform) {
|
||||||
return this.translationService
|
return this.translationService
|
||||||
@@ -420,6 +420,10 @@ class StringService {
|
|||||||
.getTranslation("dbFindMonitorById")
|
.getTranslation("dbFindMonitorById")
|
||||||
.replace("${monitorId}", monitorId);
|
.replace("${monitorId}", monitorId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get dbUserExists() {
|
||||||
|
return this.translationService.getTranslation("dbUserExists");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default StringService;
|
export default StringService;
|
||||||
Reference in new issue
Block a user