update api token
All checks were successful
Main / build-and-push-docker-image (20.x) (pull_request) Successful in 7m57s

This commit is contained in:
2025-12-06 22:22:33 -05:00
parent a0107eeb27
commit 98f954aa82
2 changed files with 2 additions and 2 deletions

View File

@@ -9,4 +9,4 @@ SERVER_PORT=3000
BOT_ADMINS=[1] BOT_ADMINS=[1]
GROUP_IDS=- GROUP_IDS=-
GRAPHQL_URL=http://localhost:3000/api/graphql GRAPHQL_URL=http://localhost:3000/api/graphql
API_TOKEN="token-here" GRAPHQL_API_TOKEN="token-here"

View File

@@ -5,7 +5,7 @@ const urql = new Client({
exchanges: [cacheExchange, fetchExchange], exchanges: [cacheExchange, fetchExchange],
fetchOptions: { fetchOptions: {
headers: { headers: {
"x-api-key": process.env?.API_TOKEN || "" "x-api-key": process.env?.GRAPHQL_API_TOKEN || ""
} }
} }
}); });