|
@@ -495,7 +495,7 @@ export class MatchExtController implements BaseController {
|
|
|
const match_id = get(i, 'match_id');
|
|
|
const match = await this.matchService.fetch({ id: match_id });
|
|
|
if (match) newItem.match_name = get(match, 'name');
|
|
|
- newItem = this.matchRegService.dealData(newItem);
|
|
|
+ newItem = await this.matchRegService.dealData(newItem);
|
|
|
fillList.push(newItem);
|
|
|
}
|
|
|
return fillList;
|
|
@@ -680,7 +680,7 @@ export class MatchExtController implements BaseController {
|
|
|
const newList = []
|
|
|
for (const i of list) {
|
|
|
let newItem = cloneDeep(i)
|
|
|
- newItem = this.matchRegService.dealData(newItem);
|
|
|
+ newItem = await this.matchRegService.dealData(newItem);
|
|
|
newList.push(newItem)
|
|
|
}
|
|
|
return newList;
|