Spaces:
Sleeping
Sleeping
Update app.py
Browse filesadded new endpoint
app.py
CHANGED
|
@@ -353,7 +353,7 @@ async def mobile_process_receipts(background_tasks: BackgroundTasks, request: Re
|
|
| 353 |
|
| 354 |
|
| 355 |
|
| 356 |
-
@app.post('/
|
| 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."}
|
|
|
|
| 353 |
|
| 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."}
|