update api token
All checks were successful
Main / build-and-push-docker-image (20.x) (pull_request) Successful in 7m57s
All checks were successful
Main / build-and-push-docker-image (20.x) (pull_request) Successful in 7m57s
This commit is contained in:
@@ -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"
|
||||||
@@ -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 || ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user