chore: Update widget config API to migrate the widget (#8303)
- Update the keys in the widget config API to support loading the widget separately from the Rails App.
This commit is contained in:
@@ -10,7 +10,7 @@ RSpec.describe '/api/v1/widget/config', type: :request do
|
||||
|
||||
describe 'POST /api/v1/widget/config' do
|
||||
let(:params) { { website_token: web_widget.website_token } }
|
||||
let(:response_keys) { %w[chatwoot_website_channel chatwoot_widget_defaults contact auth_token global_config] }
|
||||
let(:response_keys) { %w[website_channel_config contact global_config] }
|
||||
|
||||
context 'with invalid website token' do
|
||||
it 'returns not found' do
|
||||
|
||||
Reference in New Issue
Block a user