mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	chore: Refactor widget (#5621)
This commit is contained in:
		@@ -3,8 +3,7 @@ import { API } from 'widget/helpers/axios';
 | 
			
		||||
 | 
			
		||||
const getCampaigns = async websiteToken => {
 | 
			
		||||
  const urlData = endPoints.getCampaigns(websiteToken);
 | 
			
		||||
  const result = await API.get(urlData.url, { params: urlData.params });
 | 
			
		||||
  return result;
 | 
			
		||||
  return API.get(urlData.url, { params: urlData.params });
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const triggerCampaign = async ({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user