feat: Add admin user and category management services and instructor course creation and listing pages.
This commit is contained in:
parent
715d94fbf9
commit
9fa70efaf6
4 changed files with 299 additions and 3 deletions
|
|
@ -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}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue