lrf 2 vuotta sitten
vanhempi
commit
a915e703bd
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      app/service/eliminate.js

+ 1 - 0
app/service/eliminate.js

@@ -376,6 +376,7 @@ class EliminateService extends CrudService {
   async afterQuery(filter, data) {
   async afterQuery(filter, data) {
     const arr = [];
     const arr = [];
     for (let d of data) {
     for (let d of data) {
+      d = await this.getOtherName(d);
       d = await this.getPlayerName(d);
       d = await this.getPlayerName(d);
       arr.push(d);
       arr.push(d);
     }
     }