Spaces:
Sleeping
Sleeping
koenverhagen
commited on
Commit
•
1ec7cc7
1
Parent(s):
18367a2
Update server.py
Browse files
server.py
CHANGED
@@ -58,6 +58,7 @@ async def submit_async_task(request: Request, response: Response, shop: Shop):
|
|
58 |
task = asyncio.create_task(create_feature_files(shop))
|
59 |
return {"message": f"shop calculation for shop {shop.id} submitted"}
|
60 |
else:
|
|
|
61 |
response.status_code = 401
|
62 |
return response
|
63 |
|
|
|
58 |
task = asyncio.create_task(create_feature_files(shop))
|
59 |
return {"message": f"shop calculation for shop {shop.id} submitted"}
|
60 |
else:
|
61 |
+
print(authorization_token)
|
62 |
response.status_code = 401
|
63 |
return response
|
64 |
|