laiguoran преди 2 години
родител
ревизия
344f03b5c7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/service/stage_bonus.js

+ 1 - 1
app/service/stage_bonus.js

@@ -191,7 +191,7 @@ module.exports = app => {
         }
 
         async updateHistory4CheckCancel(stage, newTimes, newOrder, transaction) {
-            const datas = await this.getStageData(stage, true);
+            const datas = await this.getStageData(stage.id, true);
             if (datas.length === 0) return;
 
             const updateDatas = [];