fix: Twitter inbox creation error (#1783)

fixes #1708

Co-authored-by: Pranav <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2021-02-16 19:35:10 +05:30
committed by GitHub
parent ac15f08995
commit 850041bc1d
11 changed files with 156 additions and 62 deletions

View File

@@ -107,6 +107,10 @@ Rails.application.routes.draw do
end
end
namespace :twitter do
resource :authorization, only: [:create]
end
resources :webhooks, except: [:show]
namespace :integrations do
resources :apps, only: [:index, :show]
@@ -202,7 +206,6 @@ Rails.application.routes.draw do
post 'webhooks/twitter', to: 'api/v1/webhooks#twitter_events'
namespace :twitter do
resource :authorization, only: [:create]
resource :callback, only: [:show]
end