m8chaa commited on
Commit
7a6b29d
·
verified ·
1 Parent(s): a933220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -404,7 +404,7 @@ async def http_exception_handler(request: Request, exc: HTTPException):
404
  )
405
 
406
  @app.post('/check-userdoc')
407
- async def update_user_doc(currentUserUid:str = Form(...), background_tasks: BackgroundTasks):
408
  print(currentUserUid)
409
  user_doc = users_ref.document(currentUserUid)
410
  doc_snapshot = user_doc.get()
 
404
  )
405
 
406
  @app.post('/check-userdoc')
407
+ async def update_user_doc(background_tasks: BackgroundTasks, currentUserUid:str = Form(...)):
408
  print(currentUserUid)
409
  user_doc = users_ref.document(currentUserUid)
410
  doc_snapshot = user_doc.get()