mirror of
https://github.com/seerr-team/seerr.git
synced 2026-06-02 05:11:34 -04:00
fix(ntfy): save priority field as number instead of string (#3096)
This commit is contained in:
@@ -1561,6 +1561,10 @@ components:
|
||||
type: boolean
|
||||
token:
|
||||
type: string
|
||||
priority:
|
||||
type: number
|
||||
locale:
|
||||
type: string
|
||||
NotificationEmailSettings:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user