neil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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}" |
|
|
|