import { http } from '@/services/api/http'
import { buildUrl, endpoints } from '@/services/api/endpoints'

export const apiGetStudentCourses = (params) => http.get(endpoints.getCoursesList, { params })

export const apiShowStudentCourse = (id) => http.get(buildUrl(endpoints.showCourse, { id }))
