Fix auth header on edit lesson cache bust
Made-with: Cursor
This commit is contained in:
parent
3607e4491b
commit
beb0e32dde
|
|
@ -311,12 +311,6 @@ export const getSubModuleLessonById = (
|
||||||
) =>
|
) =>
|
||||||
http.get<GetSubModuleLessonDetailResponse>(`/course-management/sub-module-lessons/${lessonId}`, {
|
http.get<GetSubModuleLessonDetailResponse>(`/course-management/sub-module-lessons/${lessonId}`, {
|
||||||
params: options?.cacheBust ? { _t: Date.now() } : undefined,
|
params: options?.cacheBust ? { _t: Date.now() } : undefined,
|
||||||
headers: options?.cacheBust
|
|
||||||
? {
|
|
||||||
"Cache-Control": "no-cache",
|
|
||||||
Pragma: "no-cache",
|
|
||||||
}
|
|
||||||
: undefined,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
export const createSubCourseVideo = (data: CreateSubCourseVideoRequest) =>
|
export const createSubCourseVideo = (data: CreateSubCourseVideoRequest) =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user