mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-31 19:17:48 +00:00
8 lines
277 B
JavaScript
8 lines
277 B
JavaScript
import endPoints from 'widget/api/endPoints';
|
|
import { API } from 'widget/helpers/axios';
|
|
|
|
export const getMostReadArticles = async (slug, locale) => {
|
|
const urlData = endPoints.getMostReadArticles(slug, locale);
|
|
return API.get(urlData.url, { params: urlData.params });
|
|
};
|