Assignments disappearing from student view of gradebook, and grades removed, upon assignments API put request

jlee10
Community Novice

Hello,

I have written an external app that automates changing the following parameters on an assignment through on the 

/api/v1/courses/:course_id/assignments/:id

endpoint:

assignment[due_at]

assignment[lock_at]

assignment[unlock_at]

The API request returns as successful, and if look at the teacher's view, the assignments show properly within the assignment tab of the course. However, if I go to the gradebook, and look at it under the student's view, the assignments no longer show up.

Further, if I look at the gradebook from the teacher's view, any grades that have been submitted for assignment has been removed.

Attached are screenshots of this issue. For the source code of my API request, written in Node.js, please go to this pastebin.

0 Likes