Fix: Hide prechat for sessions inititated with setUser (#1914)
This commit is contained in:
parent
484c32fae3
commit
3043ee5058
10 changed files with 105 additions and 6 deletions
|
@ -3,6 +3,9 @@ import { API } from 'widget/helpers/axios';
|
|||
const buildUrl = endPoint => `/api/v1/${endPoint}${window.location.search}`;
|
||||
|
||||
export default {
|
||||
get() {
|
||||
return API.get(buildUrl('widget/contact'));
|
||||
},
|
||||
update(identifier, userObject) {
|
||||
return API.patch(buildUrl('widget/contact'), {
|
||||
identifier,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue