mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	 ffb4bd0109
			
		
	
	ffb4bd0109
	
	
	
		
			
			Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Co-authored-by: iamsivin <iamsivin@gmail.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			435 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			435 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 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 });
 | |
|   },
 | |
| };
 |