Skip to content

Commit

Permalink
fix(webchat): typo in createConversation (#4725)
Browse files Browse the repository at this point in the history
  • Loading branch information
spg committed Mar 19, 2021
1 parent 39fc418 commit fabe1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/channel-web/src/views/lite/core/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default class WebchatApi {
async createConversation(): Promise<number> {
try {
const { data } = await this.axios.post('/conversations/new', this.baseUserPayload, this.axiosConfig)
return data.conversationId
return data.convoId
} catch (err) {
console.error('Error in create conversation', err)
}
Expand Down

0 comments on commit fabe1fc

Please sign in to comment.