1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

fixes #2623 - model class being passed to rqworker

This commit is contained in:
John Anderson
2018-12-04 00:40:54 -05:00
parent 232e6f5076
commit 0dcab07519
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ def enqueue_webhooks(instance, action):
"extras.webhooks_worker.process_webhook",
webhook,
serializer.data,
instance.__class__,
instance._meta.model_name,
action,
str(datetime.datetime.now())
)