From ea2bdb226d06baa8c04f05a0b38436de1689dbb3 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 12 Oct 2019 20:19:09 -0400 Subject: [PATCH] [U] Update key names --- src/components/app/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/app/app.ts b/src/components/app/app.ts index 41fe815..37303fa 100644 --- a/src/components/app/app.ts +++ b/src/components/app/app.ts @@ -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)