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,6 +3,5 @@ import { API } from 'widget/helpers/axios';
 | 
			
		||||
 | 
			
		||||
export const getAvailableAgents = async websiteToken => {
 | 
			
		||||
  const urlData = endPoints.getAvailableAgents(websiteToken);
 | 
			
		||||
  const result = await API.get(urlData.url, { params: urlData.params });
 | 
			
		||||
  return result;
 | 
			
		||||
  return API.get(urlData.url, { params: urlData.params });
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user