Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
12
research/chatwoot/app/javascript/widget/api/integration.js
Normal file
12
research/chatwoot/app/javascript/widget/api/integration.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { API } from 'widget/helpers/axios';
|
||||
import { buildSearchParamsWithLocale } from '../helpers/urlParamsHelper';
|
||||
|
||||
export default {
|
||||
addParticipantToDyteMeeting: messageId => {
|
||||
const search = buildSearchParamsWithLocale(window.location.search);
|
||||
const urlData = {
|
||||
url: `/api/v1/widget/integrations/dyte/add_participant_to_meeting${search}`,
|
||||
};
|
||||
return API.post(urlData.url, { message_id: messageId });
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user