diff --git a/src/actions/handleCommitPush.ts b/src/actions/handleCommitPush.ts index 45b41d79..c578eada 100644 --- a/src/actions/handleCommitPush.ts +++ b/src/actions/handleCommitPush.ts @@ -56,7 +56,7 @@ export const handleCommitPush = async (): Promise => { const previousReviewers = res.data.map((review) => review!.user!.login); const distinctPreviousReviewers = [...new Set(previousReviewers)]; const baseMessage = `new code has been committed since your review of <${pull_request._links.html.href}|*PR ${pull_request.number}*>, please review the updates.`; - const usersToAtString = createUsersToAtString(distinctPreviousReviewers); + const usersToAtString = await createUsersToAtString(distinctPreviousReviewers); const text = `${usersToAtString} ${baseMessage}`; const threadUpdateRes = await slackWebClient.chat.postMessage({ channel: channelId,