From c9947f5ee92199ff254a2634bbf359d7fd8159ad Mon Sep 17 00:00:00 2001 From: Richard Simpson Date: Mon, 3 Feb 2020 21:33:22 -0600 Subject: [PATCH] fix: fixup test failure --- action.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.js b/action.js index fa8f157..226c18d 100644 --- a/action.js +++ b/action.js @@ -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);