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:
parent
44b0828093
commit
c9947f5ee9
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue