m8chaa commited on
Commit
470bd1b
·
verified ·
1 Parent(s): 366212a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -381,7 +381,7 @@ class Item(BaseModel):
381
  syncType: str
382
  status: int
383
 
384
- @app.post('/update-user-doc-status')
385
  async def update_user_doc(item: Item, background_tasks: BackgroundTasks):
386
  data = item.dict()
387
  user_doc = users_ref.document(data['userRef'])
 
381
  syncType: str
382
  status: int
383
 
384
+ @app.post('/update-userdoc')
385
  async def update_user_doc(item: Item, background_tasks: BackgroundTasks):
386
  data = item.dict()
387
  user_doc = users_ref.document(data['userRef'])