Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
fix: redeem not awaited
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzeng committed Jun 24, 2022
1 parent f5779e5 commit e6140ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pinkoi-bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit e6140ba

Please sign in to comment.