From e6140bad774cd2d3c98d5138e90f1fe6884025ca Mon Sep 17 00:00:00 2001 From: Hyperbola Date: Fri, 24 Jun 2022 14:12:11 +0800 Subject: [PATCH] fix: redeem not awaited --- src/pinkoi-bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pinkoi-bot.ts b/src/pinkoi-bot.ts index ce41c1f..be94c89 100644 --- a/src/pinkoi-bot.ts +++ b/src/pinkoi-bot.ts @@ -375,7 +375,7 @@ export default class PinkoiBot { log.info(`Mission ${missionKeyNames[i]} already redeemed.`) } else { - this.redeemWeeklyMission(missionKeyNames[i]) + await this.redeemWeeklyMission(missionKeyNames[i]) await sleep() } }