Spaces:
Running
Running
fix update_webhook arg
Browse files
update.py
CHANGED
@@ -222,7 +222,7 @@ def update_webhooks():
|
|
222 |
print("There are now", len(new_watched), "items in the watched list")
|
223 |
|
224 |
api.update_webhook(
|
225 |
-
|
226 |
url=webhook_url,
|
227 |
watched=new_watched,
|
228 |
domains=["discussion"],
|
|
|
222 |
print("There are now", len(new_watched), "items in the watched list")
|
223 |
|
224 |
api.update_webhook(
|
225 |
+
webhook_id=id2update,
|
226 |
url=webhook_url,
|
227 |
watched=new_watched,
|
228 |
domains=["discussion"],
|