From da65b5ef3bf105aab268a98177b405dd41adf221 Mon Sep 17 00:00:00 2001 From: centdix <40307056+centdix@users.noreply.github.com> Date: Fri, 23 May 2025 16:39:28 +0200 Subject: [PATCH] small fix (#5805) --- .github/workflows/shareable-discord-notification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/shareable-discord-notification.yml b/.github/workflows/shareable-discord-notification.yml index e3cfff6197..cb6dbf055d 100644 --- a/.github/workflows/shareable-discord-notification.yml +++ b/.github/workflows/shareable-discord-notification.yml @@ -84,7 +84,7 @@ jobs: fi # 2) get the first message in that thread messages=$(curl -H "Authorization: Bot $BOT_TOKEN" \ - "https://discord.com/api/v10/channels/$thread_id/messages?limit=1") + "https://discord.com/api/v10/channels/$thread_id/messages") message_id=$(echo "$messages" | jq -r '.[-1].id') if [ -z "$message_id" ]; then