Skip to content

Commit

Permalink
bug to retreive applications : flatMap array of applications
Browse files Browse the repository at this point in the history
  • Loading branch information
AZIRARM committed Apr 28, 2022
1 parent df055cd commit fb58537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secrets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ router.get('/manage-secrets/environments/:environmentName/applications', checkAu
res.send(readConfiguration().filter(env => env.environment === environmentName ).map(environment => {
return environment.applications.map(app => app.name);
}
));
).flatMap(app => app));
return ;
});
router.get('/manage-secrets/environments/:environmentName/applications/:applicationName', checkAuthorization, function(req,res){
Expand Down

0 comments on commit fb58537

Please sign in to comment.