zs преди 2 години
родител
ревизия
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 });