From a189fda4f7f10075c35bea057d5b6b110be21ab1 Mon Sep 17 00:00:00 2001 From: jaspercroome <128058464+jaspercroome@users.noreply.github.com> Date: Mon, 18 Mar 2024 21:26:17 -0700 Subject: [PATCH] Update discourse_update.yml --- .github/workflows/discourse_update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/discourse_update.yml b/.github/workflows/discourse_update.yml index 898e5a5..c08b32f 100644 --- a/.github/workflows/discourse_update.yml +++ b/.github/workflows/discourse_update.yml @@ -35,7 +35,7 @@ jobs: ISSUE_STATUS="${{ env.status }}" # Encode emojis in the JSON payload using jq and write to file - jq -n --arg title "$ISSUE_TITLE" --arg body "$ISSUE_BODY" --arg author "$ISSUE_AUTHOR" --arg status "$ISSUE_STATUS" '{title: $title, body: $body, author: $author, status: $status | tonumber}' > encoded.json + jq -n --arg title "$ISSUE_TITLE" --arg body "$ISSUE_BODY" --arg author "$ISSUE_AUTHOR" '{title: $title, body: $body, author: $author, status: $ISSUE_STATUS | tonumber}' > encoded.json - name: Read Encoded JSON Payload id: read_encoded_json