update cron and cronJob typeDef
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 6m17s
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 2s

This commit is contained in:
2025-12-22 15:45:52 -05:00
parent fb57b3e585
commit 47563211af
2 changed files with 2 additions and 2 deletions

View File

@@ -18,4 +18,4 @@ jobs:
--url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
--header 'Content-Type: application/json' \
--data '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 } }" }' \

View File

@@ -13,7 +13,7 @@ const typeDefs = /* GraphQL */ `
}
type Mutation {
init(mutationKey: String): String!
cronJob(mutationKey: String): TotalStats!
cronJob(mutationKey: String): TotalStats
addGroup(
groupID: String!
groupName: String!