Skip to content

Commit

Permalink
refactor(workflows-service): renamed secrets variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy committed Sep 2, 2024
1 parent 53aeca9 commit dcf2f2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SecretsManager } from '@/secrets-manager/secrets-manager';
import { env } from '@/env';
import { camelCase } from 'lodash';

const inMemorySecrets = Object.entries(env).reduce((acc, [key, value]) => {
const inMemoryEnvProvidedSecrets = Object.entries(env).reduce((acc, [key, value]) => {
if (!key.startsWith('IN_MEMORY_SECRET_')) {
return acc;
}
Expand Down Expand Up @@ -31,7 +31,7 @@ export class InMemorySecretsManager implements SecretsManager {
}

secrets = {
...inMemorySecrets,
...inMemoryEnvProvidedSecrets,
...secrets,
};

Expand Down

0 comments on commit dcf2f2b

Please sign in to comment.