Skip to content

Commit

Permalink
fix: pending await
Browse files Browse the repository at this point in the history
add await to pending response
  • Loading branch information
jlangy committed Dec 18, 2023
1 parent 72ef7eb commit 60aa9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/api/realms/pending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
);
}),
);
sendDeletionCompleteEmail(currentRequest);
await sendDeletionCompleteEmail(currentRequest);
} else if (success && action === ActionEnum.TF_APPLY) {
const currentRequest = await prisma.roster.findUnique({
where: {
Expand Down

0 comments on commit 60aa9fc

Please sign in to comment.