Skip to content

Commit

Permalink
Close back up.
Browse files Browse the repository at this point in the history
  • Loading branch information
waleedkadous committed Dec 31, 2023
1 parent 098eb83 commit 9b8aa5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
async def complete(request: Request):
print(f'Raw request is {request.headers}')
origin = request.headers.get('origin','')
mobile = request.headers.get('x-mobile-ansari'. '')
mobile = request.headers.get('x-mobile-ansari', '')
if origin in origins or mobile == 'ANSARI':
body = await request.json()
print(f'Request received > {body}.')
Expand Down

0 comments on commit 9b8aa5b

Please sign in to comment.