nbroad HF staff commited on
Commit
26dc390
·
verified ·
1 Parent(s): edac3aa

fix update_webhook arg

Browse files
Files changed (1) hide show
  1. update.py +1 -1
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
- id=id2update,
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"],