From 9890331139d36cd019cebf0a0133250cc0a23595 Mon Sep 17 00:00:00 2001 From: Lucid Date: Thu, 18 Dec 2025 21:28:17 -0500 Subject: [PATCH] fix cron? --- .github/workflows/cron.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index f33a9e8..a778c83 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -14,8 +14,9 @@ jobs: curl --request POST \ --url 'bot-stats.lucids-cove.duckdns.org/api/graphql' \ --header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \ + --header 'Content-Type: application/json' \ --data '{ - "query": "mutation { + \"query\": \"mutation { cronJob(mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }}) { commandResponses createdAt @@ -23,5 +24,5 @@ jobs: timesTriggered updatedAt } - }" + }\" }'