From 2fa535dd23ed2f71febd002164d873d2a039e176 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Mon, 1 Jun 2026 14:52:00 +0200 Subject: [PATCH] fix(ntfy): save priority field as number instead of string (#3096) --- seerr-api.yml | 4 ++++ .../Settings/Notifications/NotificationsNtfy/index.tsx | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/seerr-api.yml b/seerr-api.yml index e51772260..bc1bb757a 100644 --- a/seerr-api.yml +++ b/seerr-api.yml @@ -1561,6 +1561,10 @@ components: type: boolean token: type: string + priority: + type: number + locale: + type: string NotificationEmailSettings: type: object properties: diff --git a/src/components/Settings/Notifications/NotificationsNtfy/index.tsx b/src/components/Settings/Notifications/NotificationsNtfy/index.tsx index dc336fc28..07f3e84db 100644 --- a/src/components/Settings/Notifications/NotificationsNtfy/index.tsx +++ b/src/components/Settings/Notifications/NotificationsNtfy/index.tsx @@ -123,7 +123,7 @@ const NotificationsNtfy = () => { password: values.password, authMethodToken: values.authMethodToken, token: values.token, - priority: values.priority, + priority: Number(values.priority), locale: values.locale, }, }); @@ -176,7 +176,7 @@ const NotificationsNtfy = () => { password: values.password, authMethodToken: values.authMethodToken, token: values.token, - priority: values.priority, + priority: Number(values.priority), locale: values.locale, }, });