fix(ntfy): save priority field as number instead of string (#3096)

This commit is contained in:
Gauthier
2026-06-01 14:52:00 +02:00
committed by GitHub
parent c04172aee4
commit 2fa535dd23
2 changed files with 6 additions and 2 deletions

View File

@@ -1561,6 +1561,10 @@ components:
type: boolean
token:
type: string
priority:
type: number
locale:
type: string
NotificationEmailSettings:
type: object
properties:

View File

@@ -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,
},
});