Chore: Add web_widget_script in the Inboxes API (#615)

* Chore: Add web_widget_script in the Inboxes API
This commit is contained in:
Pranav Raj S
2020-03-16 12:32:34 +05:30
committed by GitHub
parent d8599c62dd
commit 4d0f46176b
11 changed files with 49 additions and 39 deletions

View File

@@ -6,15 +6,15 @@ class Api::V1::Accounts::InboxesController < Api::BaseController
@inboxes = policy_scope(current_account.inboxes)
end
def update
@inbox.update(inbox_update_params)
end
def destroy
@inbox.destroy
head :ok
end
def update
@inbox.update(inbox_update_params)
end
private
def fetch_inbox