Skip to content

Commit 7eda8a8

Browse files
hakatashiCopilot
andauthored
Update slow-quiz/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 89afd85 commit 7eda8a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

slow-quiz/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,9 +1113,9 @@ export default async ({webClient: slack, messageClient: slackInteractions}: Slac
11131113

11141114
eventClient.on('message', (message) => {
11151115
if (message.text === 'slow-quiz') {
1116-
mutex.runExclusive(() => {
1116+
mutex.runExclusive(async () => {
11171117
log.info('Received /slow-quiz command');
1118-
slowquiz.postGameStatus();
1118+
await slowquiz.postGameStatus();
11191119
});
11201120
}
11211121
});

0 commit comments

Comments
 (0)