Merge pull request #353 from ntheanh201/fix/352

fix: fix bad request made to course updates endpoint
This commit is contained in:
Badr B. 2024-10-19 01:15:49 +02:00 committed by GitHub
commit 73421331c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,9 @@ export function CourseProvider({ children, courseuuid }: any) {
); );
const initialState = { const initialState = {
courseStructure: {}, courseStructure: {
course_uuid: courseuuid,
},
courseOrder: {}, courseOrder: {},
isSaved: true, isSaved: true,
isLoading: true isLoading: true