laiguoran %!s(int64=2) %!d(string=hai) anos
pai
achega
344f03b5c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [];