Feature: Support account/inbox specific webhooks (#562)

This commit is contained in:
Subin T P
2020-02-26 09:44:24 +05:30
committed by GitHub
parent 4d5e7b4adf
commit 7479b5db43
24 changed files with 117 additions and 57 deletions

View File

@@ -0,0 +1,9 @@
json.id webhook.id
json.url webhook.url
json.account_id webhook.account_id
if webhook.inbox
json.inbox do
json.id webhook.inbox.id
json.name webhook.inbox.name
end
end

View File

@@ -1,7 +0,0 @@
json.id webhook.id
json.urls webhook.urls
json.account_id webhook.account_id
json.inbox do
json.id webhook.inbox.id
json.name webhook.inbox.name
end