Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -354,6 +354,6 @@ async def mobile_process_receipts(background_tasks: BackgroundTasks, request: Re
|
|
| 354 |
|
| 355 |
|
| 356 |
@app.post('/mobile-sync')
|
| 357 |
-
async def sync_contacts(background_tasks: BackgroundTasks, sheeturl: str = Form(...), data: List[dict] = Form(...)):
|
| 358 |
logging.info(data)
|
| 359 |
return {"message": "Contacts processing completed."}
|
|
|
|
| 354 |
|
| 355 |
|
| 356 |
@app.post('/mobile-sync')
|
| 357 |
+
async def sync_contacts(background_tasks: BackgroundTasks, sheeturl: str = Form(...), syncType: str = Form(...), data: List[dict] = Form(...)):
|
| 358 |
logging.info(data)
|
| 359 |
return {"message": "Contacts processing completed."}
|