Browse Source

Update gotify.sh

pull/3759/head
neil 4 years ago
committed by GitHub
parent
commit
9aa82529f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      notify/gotify.sh

2
notify/gotify.sh

@ -36,6 +36,8 @@ gotify_send() {
GOTIFY_PRIORITY="${GOTIFY_PRIORITY:-$(_readaccountconf_mutable GOTIFY_PRIORITY)}" GOTIFY_PRIORITY="${GOTIFY_PRIORITY:-$(_readaccountconf_mutable GOTIFY_PRIORITY)}"
if [ -z "$GOTIFY_PRIORITY" ]; then if [ -z "$GOTIFY_PRIORITY" ]; then
GOTIFY_PRIORITY=0 GOTIFY_PRIORITY=0
else
_saveaccountconf_mutable GOTIFY_PRIORITY "$GOTIFY_PRIORITY"
fi fi
export _H1="X-Gotify-Key: ${GOTIFY_TOKEN}" export _H1="X-Gotify-Key: ${GOTIFY_TOKEN}"

Loading…
Cancel
Save