Skip to content

Commit

Permalink
Fix await import in auth setup (#8582)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored and jtoar committed Jun 22, 2023
1 parent d220cbe commit 38cfef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/commands/setup/auth/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ async function getAuthHandler(module) {
})
}

const { handler } = await import(module)
const setupModule = await import(module)

return handler
return setupModule.default.handler
}

/**
Expand Down

0 comments on commit 38cfef8

Please sign in to comment.