zs 1 년 전
부모
커밋
824a15ce02
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/service/course.service.ts

+ 1 - 1
src/service/course.service.ts

@@ -37,7 +37,7 @@ export class CourseService extends BaseService<modelType> {
       const res = this.computedTeam(list, team_id);
       const info = this.getOtherInfoFromList(list, team_id);
       await this.AppModel.updateOne(
-        { team_id: team_id },
+        { team_id: team_id, match_id: match_id },
         { score: res.score.toString() }
       );
       rList.push({ ...info, ...res });