feat: Add admin user and category management services and instructor course creation and listing pages.

This commit is contained in:
Missez 2026-01-19 15:03:01 +07:00
parent 715d94fbf9
commit 9fa70efaf6
4 changed files with 299 additions and 3 deletions

View file

@ -185,7 +185,7 @@ export const adminService = {
}
const token = getAuthToken();
const response = await $fetch<CategoriesListResponse>('/api/admin/categories', {
const response = await $fetch<CategoriesListResponse>('/api/categories', {
baseURL: config.public.apiBaseUrl as string,
headers: {
Authorization: `Bearer ${token}`