diff --git a/src/__data__/api/api.ts b/src/__data__/api/api.ts index 0d13c54..d7784ac 100644 --- a/src/__data__/api/api.ts +++ b/src/__data__/api/api.ts @@ -30,7 +30,7 @@ export const api = createApi({ invalidatesTags: ['Lesson'] }), lessonById: builder.query, string>({ - query: (lessonId: string) => `/api/lesson/${lessonId}` + query: (lessonId: string) => `/lesson/${lessonId}` }), createAccessCode: builder.query, { lessonId: string }>({ query: ({ lessonId }) => ({