diff --git a/notify b/notify index dc1115e..7a8d152 100755 --- a/notify +++ b/notify @@ -12,6 +12,7 @@ fi if [[ -n "${APPRISE_API_URL:-}" ]]; then curl -s -X POST \ -H "Content-Type: application/json" \ - -d "{\"body\":\"$msg\"}" \ - "$APPRISE_API_URL/notify" >/dev/null 2>&1 || true + -F "{\"body\":\"$msg\"}" \ + -F "tags=all" \ + "$APPRISE_API_URL" >/dev/null 2>&1 || true fi diff --git a/wait-for-approval.sh b/wait-for-approval.sh index bd1057d..aa0b3de 100755 --- a/wait-for-approval.sh +++ b/wait-for-approval.sh @@ -49,8 +49,9 @@ notify_func() { if [[ -n "${APPRISE_API_URL:-}" ]]; then curl -s -X POST \ -H "Content-Type: application/json" \ - -d "{\"body\":\"$msg\"}" \ - "$APPRISE_API_URL/notify" >/dev/null 2>&1 || true + -F "{\"body\":\"$msg\"}" \ + -F "tags=all" \ + "$APPRISE_API_URL" >/dev/null 2>&1 || true fi }