diff --git a/game-server/app/services/auctionService.ts b/game-server/app/services/auctionService.ts index c6e6bffd2..442936823 100644 --- a/game-server/app/services/auctionService.ts +++ b/game-server/app/services/auctionService.ts @@ -179,6 +179,7 @@ export async function startWorldAuction() { const begin = todayGuildBegin(); await LotModel.setLotSoldByBegin(begin); await LotModel.updateLotsStageByBegin(begin, AUCTION_STAGE.WORLD); + await DividendModel.updateDividendsStatus(begin, DIVIDEND_STATUS.END); return true; } catch (e) { console.error('startWorldAuction err: ', e); @@ -192,7 +193,6 @@ export async function stopAuction() { const begin = todayGuildBegin(); await LotModel.setLotSoldByBegin(begin); await LotModel.updateLotsStageByBegin(begin, AUCTION_STAGE.END); - await DividendModel.updateDividendsStatus(begin, DIVIDEND_STATUS.END); return true; } catch (e) { console.error('stopAuction err: ', e);