Add trigger_webhooks() to JobResult
This commit is contained in:

committed by
Jeremy Stretch

parent
a8c331f88a
commit
4de64d783e
@@ -1,8 +1,16 @@
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
|
||||
# Webhook content types
|
||||
# Webhooks
|
||||
HTTP_CONTENT_TYPE_JSON = 'application/json'
|
||||
|
||||
WEBHOOK_EVENT_TYPES = {
|
||||
'create': 'created',
|
||||
'update': 'updated',
|
||||
'delete': 'deleted',
|
||||
'job_start': 'job_started',
|
||||
'job_end': 'job_ended',
|
||||
}
|
||||
|
||||
# Dashboard
|
||||
DEFAULT_DASHBOARD = [
|
||||
{
|
||||
|
Reference in New Issue
Block a user