Skip to content

Commit

Permalink
fix cloud login failing on DI
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-bravo-yahoo committed Nov 21, 2024
1 parent 51b6eaa commit b31f354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/setup-container.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const injectables = {

// generic lib (homemade utilities)
parseYargs: awilix.asValue(parseYargs),
logger: awilix.asFunction(buildLogger),
logger: awilix.asFunction(buildLogger, { lifetime: Lifetime.SINGLETON }),
performV4Query: awilix.asValue(performV4Query),
performV10Query: awilix.asValue(performV10Query),
getSimpleClient: awilix.asValue(getSimpleClient),
Expand Down

0 comments on commit b31f354

Please sign in to comment.