mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
chore: API fixes (#3014)
- Minor API fixes - Configuration screen for LINE inbox
This commit is contained in:
@@ -306,6 +306,7 @@ RSpec.describe 'Inboxes API', type: :request do
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response.body).to include('Line Inbox')
|
||||
expect(response.body).to include('callback_webhook_url')
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -352,7 +353,7 @@ RSpec.describe 'Inboxes API', type: :request do
|
||||
|
||||
patch "/api/v1/accounts/#{account.id}/inboxes/#{api_inbox.id}",
|
||||
headers: admin.create_new_auth_token,
|
||||
params: { enable_auto_assignment: false, channel: { webhook_url: 'webhook.test' } },
|
||||
params: { enable_auto_assignment: false, channel: { webhook_url: 'webhook.test', selected_feature_flags: [] } },
|
||||
as: :json
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
|
||||
Reference in New Issue
Block a user