Skip to content

Commit

Permalink
🐛 Fix using env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
priestine committed Sep 9, 2020
1 parent 90fdd43 commit 04cc773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipes/get-configuration-pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const envToObject = (env: NodeJS.ProcessEnv) =>
Object.keys(env).reduce(
(acc, key) => ({
...acc,
[transformCase(key.slice(19)).from.upperSnake.to.camel.toString()]: env[key],
[transformCase(key.slice(11)).from.upperSnake.to.camel.toString()]: env[key],
}),
{},
)
Expand Down

0 comments on commit 04cc773

Please sign in to comment.