m8chaa commited on
Commit
52316b5
·
verified ·
1 Parent(s): 4fe4062

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(s3_orginal_url, 'User not found.', sheetID)
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