diff --git a/src/main/app-controller.ts b/src/main/app-controller.ts index 13ac749..aebe347 100644 --- a/src/main/app-controller.ts +++ b/src/main/app-controller.ts @@ -696,7 +696,8 @@ public async checkDebridAccounts(): Promise { const SENSITIVE_KEYS: (keyof AppSettings)[] = [ "token", "megaLogin", "megaPassword", "bestToken", "allDebridToken", "ddownloadLogin", "ddownloadPassword", "oneFichierApiKey", - "debridLinkApiKeys", "linkSnappyLogin", "linkSnappyPassword" + "debridLinkApiKeys", "linkSnappyLogin", "linkSnappyPassword", + "notifyUrl" ]; for (const key of SENSITIVE_KEYS) { const val = importedSettingsRecord[key]; diff --git a/src/main/support-data.ts b/src/main/support-data.ts index 3c46d37..1e584f8 100644 --- a/src/main/support-data.ts +++ b/src/main/support-data.ts @@ -1,4 +1,5 @@ import { getDebridLinkApiKeyIds } from "../shared/debrid-link-keys"; +import { isNotifyUrlValid } from "./notify"; import type { AppSettings, HistoryEntry, UiSnapshot } from "../shared/types"; function hasText(value: unknown): boolean { @@ -131,6 +132,14 @@ export function buildRedactedSettingsPayload(settings: AppSettings): Record