lrf 2 سال پیش
والد
کامیت
a744d6d525
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/service/matchSmallGroupSchedule.js

+ 1 - 1
app/service/matchSmallGroupSchedule.js

@@ -45,7 +45,7 @@ class MatchSmallGroupScheduleService extends CrudService {
     for (const team_id in list) {
       const groups = list[team_id];
       const team_name = _.get(_.head(groups), 'team_name');
-      const obj = { team_name };
+      const obj = { team_name, team_id };
       let players = [];
       const p1s = groups.map(i => ({ player: i.player_one, player_name: i.player_one_name }));
       const p2s = groups.map(i => ({ player: i.player_two, player_name: i.player_two_name }));