Browse Source

Merge branch 'develop' into feature/assignment-zhangyasen

Johnson 7 years ago
parent
commit
2d11a0a9d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/group.js

+ 1 - 1
src/api/group.js

@@ -33,7 +33,7 @@ export const getStudentGroup = (courseId = -1) => {
  */
  */
 export const putStudentGroup = code => {
 export const putStudentGroup = code => {
   return request(`${GROUP_MODULE}`, {
   return request(`${GROUP_MODULE}`, {
-    method: "POST",
+    method: "PUT",
     body: {
     body: {
       code: code || null
       code: code || null
     }
     }