[U] Update key names

This commit is contained in:
Hykilpikonna
2019-10-12 20:19:09 -04:00
parent 0f93a3581f
commit ea2bdb226d
+2 -2
View File
@@ -154,7 +154,7 @@ export default class App extends Vue
this.courses.forEach(course =>
{
// Send request to get assignments
this.http.post('/assignments', {id: course.assignmentsId}).then(response =>
this.http.post('/assignments', {'assignmentsId': course.assignmentsId}).then(response =>
{
// Check success
if (response.success)
@@ -214,7 +214,7 @@ export default class App extends Vue
else
{
// Request grading scheme for this course
this.http.post('/grading', {'assignment_id': course.assignmentsId}).then(response =>
this.http.post('/grading', {'assignmentsId': course.assignmentsId}).then(response =>
{
// Check success
if (response.success)