Chore: Add display name to the user (#1067)

* Chore: Adding browser info to web widget triggered event

fixes: #970

* Chore: Rename nickname to display name

references: #972

* Chore: Change nickname in code

* chore: fix errors

* Chore: update nginx config

fixes: #1057

* Chore: Fix specs
This commit is contained in:
Sojan Jose
2020-07-20 18:28:14 +05:30
committed by GitHub
parent 29838f9424
commit d800b55ac6
13 changed files with 34 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ RSpec.describe '/api/v1/widget/events', type: :request do
expect(response).to have_http_status(:success)
expect(Rails.configuration.dispatcher).to have_received(:dispatch)
.with(params[:name], anything, contact_inbox: contact_inbox,
event_info: { browser_language: nil, widget_language: nil })
event_info: { browser_language: nil, widget_language: nil, browser: anything })
end
end
end