Skip to content

Commit

Permalink
chore: resolve comments
Browse files Browse the repository at this point in the history
Signed-off-by: nikolay <[email protected]>
  • Loading branch information
natanasow committed Oct 11, 2024
1 parent 85fece4 commit 559a51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/config-service/src/services/validationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class ValidationService {
// validate mandatory fields and their types
Object.entries(GlobalConfig.ENTRIES).forEach(([entryName, entryInfo]) => {
if (entryInfo.required) {
if (envs[entryName] === undefined) {
if (!envs.hasOwnProperty(entryName)) {
throw new Error(`${entryName} is a mandatory and the relay cannot operate without its value.`);
}

Expand Down

0 comments on commit 559a51a

Please sign in to comment.