zs 1 ano atrás
pai
commit
824a15ce02
1 arquivos alterados com 1 adições e 1 exclusões
  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 });