5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-08 15:46:56 +00:00

fix: fixup test failure

This commit is contained in:
Richard Simpson 2020-02-03 21:33:22 -06:00
parent 44b0828093
commit c9947f5ee9

View file

@ -74,8 +74,8 @@ async function exportSecrets() {
}
const requestPath = (kvVersion === 1)
? `${vaultUrl}/v1/${engineName}/${secretPath}`
: `${vaultUrl}/v1/${engineName}/data/${secretPath}`;
? `${vaultUrl}/v1/${enginePath}/${secretPath}`
: `${vaultUrl}/v1/${enginePath}/data/${secretPath}`;
const result = await got(requestPath, requestOptions);
const secretData = parseResponse(result.body, kvVersion);