make var readable

This commit is contained in:
Maidul Islam
2024-05-16 11:43:32 -04:00
parent 7fce51e8c1
commit f398fee2b8
@@ -479,10 +479,10 @@ const syncSecretsAWSParameterStore = async ({
.promise(); .promise();
if (parameters.Parameters) { if (parameters.Parameters) {
parameters.Parameters.forEach((sec) => { parameters.Parameters.forEach((parameter) => {
if (sec.Name) { if (parameter.Name) {
const secKey = sec.Name.substring((integration.path as string).length); const secKey = parameter.Name.substring((integration.path as string).length);
awsParameterStoreSecretsObj[secKey] = sec; awsParameterStoreSecretsObj[secKey] = parameter;
} }
}); });
} }