authorizer-connector-fix-4
All checks were successful
deploy / deploy (push) Successful in 1m32s

This commit is contained in:
Untone 2023-12-11 22:39:58 +03:00
parent ccfeb89e66
commit 54acfe2b89

View File

@ -8,7 +8,7 @@ async def check_auth(req):
token = req.headers.get("Authorization") token = req.headers.get("Authorization")
print(f"[services.auth] checking auth token: {token}") print(f"[services.auth] checking auth token: {token}")
headers = {"Authorization": token, "Content-Type": "application/json"} headers = {"Authorization": "Bearer " + token, "Content-Type": "application/json"}
# query getSession($params: SessionQueryInput){ session(params: $params) { message user { id } } } # query getSession($params: SessionQueryInput){ session(params: $params) { message user { id } } }
gql = { gql = {
"query": f"query GetSession($params: SessionQueryInput)" "query": f"query GetSession($params: SessionQueryInput)"