Update startup_scripts/290_webhooks.py
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
This commit is contained in:
parent
95f4d7856a
commit
f88f4e1579
@ -25,5 +25,3 @@ for hook in webhooks:
|
|||||||
webhook.save()
|
webhook.save()
|
||||||
webhook.content_types.set(obj_type_ids)
|
webhook.content_types.set(obj_type_ids)
|
||||||
print("🖥️ Created Webhook {0}".format(webhook.name))
|
print("🖥️ Created Webhook {0}".format(webhook.name))
|
||||||
else:
|
|
||||||
print("⚠️ Skipping Webhook {0}, already exists".format(webhook.name))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user