mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-08-18 15:13:29 +08:00
fix(notify): remove duplicate Content-Type header in waha hook
This commit is contained in:
@@ -57,9 +57,8 @@ waha_send() {
|
||||
|
||||
_debug "_data" "$_data"
|
||||
|
||||
export _H1="Content-Type: application/json"
|
||||
if [ "$WAHA_API_KEY" ]; then
|
||||
export _H2="X-Api-Key: $WAHA_API_KEY"
|
||||
export _H1="X-Api-Key: $WAHA_API_KEY"
|
||||
fi
|
||||
|
||||
_waha_url="${WAHA_URL}/api/sendText"
|
||||
|
||||
Reference in New Issue
Block a user