소스 검색

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-api

lsc 2 년 전
부모
커밋
72f04b2f58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pbl.js

+ 1 - 1
pbl.js

@@ -539,7 +539,7 @@ router.route('/addRace').all((req, res, next) => {
             let courseId = ret[0][0].id;
             let userid = req.body[0].uid;
             delCourseType1(course, courseId, userid);
-            res.end(JSON.stringify({ success: 1 }));
+            res.end(JSON.stringify({ courseId: courseId, success: 1 }));
         });
     }
 });