bug: Getting error when click mark as completed
Describe the bug Getting 400 when click on mark as completed
To Reproduce Steps to reproduce the behavior:
- Go to week 9 and click on mark as completed
- open network tab and you will see the error
Works fine when you unsave your previous bookmarks and re save it. Errors out for existing bookmarks, incase you want to unsave it, also existing bookmarks aren't rendered.
Works fine when you unsave your previous bookmarks and re save it. Errors out for existing bookmarks, incase you want to unsave it, also existing bookmarks aren't rendered.
Issue is not in saving bookmarks, issue is when you finished watching video and you click "Mark as completed" then it throws 400 error.
When the video completesz it's automatically marked as completes, hence the issue if you click it again. Need to handle this in a global state, so that the button changes the state as soon as mark as complete request is being sent.
When the video completesz it's automatically marked as completes, hence the issue if you click it again. Need to handle this in a global state, so that the button changes the state as soon as mark as complete request is being sent.
but sidebar checkbox doesn't get tick automatically
This does reproduce @rahulpandey70. I am working on this.