Skip to content

Commit

Permalink
Merge pull request #86 from Real-Dev-Squad/develop
Browse files Browse the repository at this point in the history
Dev to Main Sync
  • Loading branch information
yesyash authored Oct 2, 2024
2 parents 554da05 + e59272d commit 14a26de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ export default {
async scheduled(req: ScheduledController, env: env, ctx: ExecutionContext) {
switch (req.cron) {
case EVERY_12_HOURS: {
await callDiscordNicknameBatchUpdateHandler(env);
await addMissedUpdatesRoleHandler(env);
await Promise.allSettled([callDiscordNicknameBatchUpdateHandler(env), addMissedUpdatesRoleHandler(env)]);
break;
}

Expand Down

0 comments on commit 14a26de

Please sign in to comment.