Skip to content

Commit

Permalink
fix(auth): iteration over auth options
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-segning committed Dec 4, 2023
1 parent 90fe3e1 commit e762429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/medusa-plugin-auth/src/loaders/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function authStrategiesLoader(
) {
const configModule = container.resolve('configModule') as ConfigModule;
const authOptions_ = Array.isArray(authOptions) ? authOptions : [authOptions];
for (const opt of authOptions) {
for (const opt of authOptions_) {
await handleStrategyLoading(opt, configModule, container);
}
}
Expand Down

0 comments on commit e762429

Please sign in to comment.