Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -988,8 +988,7 @@ async def startup_event():
|
|
| 988 |
app.state.drive_watcher = DriveWatcher()
|
| 989 |
|
| 990 |
# Fetch all users and initialize the watch list
|
| 991 |
-
|
| 992 |
-
users = users_ref.get()
|
| 993 |
for user in users:
|
| 994 |
user_data = user.to_dict()
|
| 995 |
if 'gDrive_metadata' in user_data and 'uploaded' in user_data['gDrive_metadata']:
|
|
|
|
| 988 |
app.state.drive_watcher = DriveWatcher()
|
| 989 |
|
| 990 |
# Fetch all users and initialize the watch list
|
| 991 |
+
users = users_collection_ref.get()
|
|
|
|
| 992 |
for user in users:
|
| 993 |
user_data = user.to_dict()
|
| 994 |
if 'gDrive_metadata' in user_data and 'uploaded' in user_data['gDrive_metadata']:
|