Skip to content

Commit

Permalink
fix(shared-utils): Fix addressing in getConfigValue
Browse files Browse the repository at this point in the history
  • Loading branch information
norda-gunni committed Oct 10, 2024
1 parent 13ead6f commit cbc5962
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export const createAssignToken = (
}

export const getConfigValue = (
configService: ConfigService<SharedModuleConfig>,
configService: ConfigService,
key: keyof SharedModuleConfig,
) => {
const value = configService.get(key)
const value = configService.get(`SharedModuleConfig.${key}`)

if (value === undefined) {
throw new Error(
Expand Down

0 comments on commit cbc5962

Please sign in to comment.