Update gotify.sh
This commit is contained in:
parent
79342a79fe
commit
9aa82529f3
@ -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…
Reference in New Issue
Block a user