FIX: enforce integer in JSON string
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Closes: #19 #32
This commit is contained in:
parent
f09fa33ef8
commit
f0fae9fd82
@ -221,7 +221,7 @@ sub NTFY_Publish_Msg
|
|||||||
|
|
||||||
if ($msg->{priority})
|
if ($msg->{priority})
|
||||||
{
|
{
|
||||||
$message->{priority} = $msg->{priority};
|
$message->{priority} = int($msg->{priority});
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($msg->{keywords})
|
if ($msg->{keywords})
|
||||||
|
Loading…
Reference in New Issue
Block a user