Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ async def background_worker(sheeturl, image_contents, filename, content_type, ap
|
|
| 122 |
# get the 'total_uploaded' field from the user's document
|
| 123 |
user_data = user_doc.get().to_dict()
|
| 124 |
if user_data is None:
|
| 125 |
-
await record_failure(
|
| 126 |
return {"message": "User not found."}
|
| 127 |
total_uploaded = user_data.get('total_uploaded', 0)
|
| 128 |
|
|
|
|
| 122 |
# get the 'total_uploaded' field from the user's document
|
| 123 |
user_data = user_doc.get().to_dict()
|
| 124 |
if user_data is None:
|
| 125 |
+
await record_failure('', 'User not found.', sheetID)
|
| 126 |
return {"message": "User not found."}
|
| 127 |
total_uploaded = user_data.get('total_uploaded', 0)
|
| 128 |
|