Skip to content

Commit

Permalink
Await impersonation script
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Nov 19, 2024
1 parent 172601e commit 7f5c693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/admin/impersonate/[slackId]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export async function GET(
{ params }: { params: { slackId: string } },
) {
if (process.env.NODE_ENV === 'development') {
impersonate(params.slackId)
await impersonate(params.slackId)
}

redirect('/signpost')
Expand Down

0 comments on commit 7f5c693

Please sign in to comment.