FIX: enforce integer in JSON string
All checks were successful
continuous-integration/drone/push Build is passing

Closes: #19 #32
This commit is contained in:
Dominik Meyer 2024-03-09 17:57:11 +01:00
parent f09fa33ef8
commit f0fae9fd82
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

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