mirror of
https://github.com/lingble/chatwoot.git
synced 2025-12-24 22:57:15 +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