Always use a JSON object to convey change data when no body template is present

This commit is contained in:
Jeremy Stretch
2020-02-25 10:43:14 -05:00
parent 644b4aa42d
commit c3b64164ba
3 changed files with 9 additions and 9 deletions

View File

@@ -58,7 +58,7 @@ class WebhookAdmin(admin.ModelAdmin):
}),
('HTTP Request', {
'fields': (
'http_method', 'payload_url', 'http_content_type', 'additional_headers', 'body_template', 'secret',
'payload_url', 'http_method', 'http_content_type', 'additional_headers', 'body_template', 'secret',
)
}),
('SSL', {