From 0558c7e7b93fab2f765659e78e3ba15c1b5a263e Mon Sep 17 00:00:00 2001 From: OMPRAKASH MISHRA Date: Wed, 15 Nov 2023 16:32:10 -0800 Subject: [PATCH] fix the url --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 98d33fa..a47d881 100644 --- a/index.js +++ b/index.js @@ -62,7 +62,7 @@ async function openBrokerIntention(intentionPayload) { async function getWrappedToken(actionToken) { try { - const wrappedData = await axios.post(`${vault_addr}/v1/provision/token/self`, undefined, { + const wrappedData = await axios.post(`${broker_url}/v1/provision/token/self`, undefined, { headers: { 'x-broker-token': actionToken, 'x-vault-role-id': provision_role_id