Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -945,7 +945,7 @@ class DriveWatcher:
|
|
| 945 |
except Exception as e:
|
| 946 |
logging.error(f"Error creating channel for user {user_id}: {str(e)}")
|
| 947 |
|
| 948 |
-
async def
|
| 949 |
for change in changes:
|
| 950 |
user_id = change.document.id
|
| 951 |
user_data = change.document.to_dict()
|
|
|
|
| 945 |
except Exception as e:
|
| 946 |
logging.error(f"Error creating channel for user {user_id}: {str(e)}")
|
| 947 |
|
| 948 |
+
async def on_user_change(self, snapshot, changes, read_time):
|
| 949 |
for change in changes:
|
| 950 |
user_id = change.document.id
|
| 951 |
user_data = change.document.to_dict()
|