From 423f76746f7166c7f419df207e85cd49ebbb3d68 Mon Sep 17 00:00:00 2001 From: PortSwigger Wiener <136816696+PortSwiggerWiener@users.noreply.github.com> Date: Mon, 27 Nov 2023 10:03:36 +0000 Subject: [PATCH] Update web hook. --- .github/workflows/issue_webhook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue_webhook.yml b/.github/workflows/issue_webhook.yml index f0f4e27..237ae19 100644 --- a/.github/workflows/issue_webhook.yml +++ b/.github/workflows/issue_webhook.yml @@ -12,7 +12,7 @@ jobs: - name: Push to webhook run: | echo $AUTHOR $TITLE $LINK - curl "$WEBHOOK" -X POST -H "Authorization: $AUTH_TOKEN" -d "$AUTHOR"$'\n'"$TITLE"$'\n'"$LINK" + curl "$WEBHOOK" -X POST -H "Content-Type: application/json" -H "Authorization: $AUTH_TOKEN" -d "$AUTHOR"$'\n'"$TITLE"$'\n'"$LINK" env: AUTHOR: ${{ github.event.issue.user.login }} TITLE: ${{ github.event.issue.title }}