Feature: As a admin, I should be able to add webhooks to account (#572)

Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
This commit is contained in:
Nithin David Thomas
2020-02-29 17:43:49 +05:30
committed by GitHub
parent e8cf59c661
commit c119c6577b
36 changed files with 845 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
json.payload do
json.webhooks do
json.array! @webhooks, partial: 'webhooks/webhook', as: :webhook
json.array! @webhooks, partial: 'webhook', as: :webhook
end
end