This commit is contained in:
parent
112e74284a
commit
c005c86303
2
auth.py
2
auth.py
|
@ -31,7 +31,7 @@ async def request_data(gql, headers=None):
|
||||||
|
|
||||||
async def check_auth(req):
|
async def check_auth(req):
|
||||||
logger.info('checking auth token')
|
logger.info('checking auth token')
|
||||||
logger.debug(req)
|
logger.debug(req.headers)
|
||||||
token = req.headers.get("Authorization")
|
token = req.headers.get("Authorization")
|
||||||
user_id = ""
|
user_id = ""
|
||||||
if token:
|
if token:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user