frontend_adaptive_learning/src/roles/user/dashboard/services/dashboardService.jsx

15 lines
297 B
React
Raw Normal View History

2024-10-31 02:32:14 +00:00
import axiosInstance from '../../../../utils/axiosInstance';
const fetchJourney = async () => {
try {
const response = await axiosInstance.get(`/topic/complete`);
return response.data;
} catch (error) {
throw error;
}
};
export default {
fetchJourney,
};