feat: Add NTFY API token field for Token-based authentication to ntfy server

- Add the api_token field for NTFY notifications in both the dialog and service to save it to PB. NTFY schema to include api_token field.
This commit is contained in:
Tola Leng
2025-09-09 17:48:25 +07:00
parent abd878fe6c
commit 06ba38aa15
2 changed files with 36 additions and 16 deletions
@@ -88,6 +88,7 @@ export const alertConfigService = {
} else if (config.notification_type === "ntfy") {
cleanConfig.ntfy_endpoint = config.ntfy_endpoint || "";
cleanConfig.api_token = config.api_token || "";
} else if (config.notification_type === "pushover") {
cleanConfig.api_token = config.api_token || "";