Merge pull request #3684 from jhcpeixoto/feat/ntfy-notifications

feat: add ntfy notification support
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-06-05 09:35:04 -07:00
commit 8dbe42288b
17 files changed
+418 -26

No files matched your search

+8
View File
@@ -78,6 +78,14 @@ function buildDefaults(data: Notification | null): NotificationFormData {
accessToken: data.accessToken || "",
};
}
if (data?.type === "ntfy") {
return {
type: "ntfy",
notificationName: data.notificationName || "",
address: data.address || "",
topic: data.topic || "",
};
}
// Default: email (covers both data === null and data.type === "email")
return {
type: "email",