fix cron
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Waiting to run
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 1s

This commit is contained in:
2025-12-22 15:55:35 -05:00
parent 47563211af
commit 8b63d9e38f

View File

@@ -18,4 +18,4 @@ jobs:
--url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \ --url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \ --header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--data '{ "query": "mutation Cron { cronJob ( mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }} ) { commandResponses createdAt linksDeleted timesTriggered updatedAt } }" }' \ --data '{ "query": "mutation Cron { cronJob ( mutationKey: \"${{ secrets.GRAPHQL_MUTATION_KEY }}\" ) { commandResponses createdAt linksDeleted timesTriggered updatedAt } }" }' \