|
@@ -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 });
|