diff --git a/lib/utils.js b/lib/utils.js index 60225b4b2..340fd8bcd 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -209,7 +209,6 @@ class Utils { const additionalHeaders = { 'Content-Type': 'application/json', }; - core.info('Data sent to token exchange: ' + data); const response = yield httpClient.post(exchangeUrl, data, additionalHeaders); const responseString = yield response.readBody(); const responseJson = JSON.parse(responseString); diff --git a/src/utils.ts b/src/utils.ts index a1a6fbf9f..7feaf6acc 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -266,7 +266,7 @@ export class Utils { const additionalHeaders: OutgoingHttpHeaders = { 'Content-Type': 'application/json', }; - core.info('Data sent to token exchange: ' + data); + const response: HttpClientResponse = await httpClient.post(exchangeUrl, data, additionalHeaders); const responseString: string = await response.readBody(); const responseJson: TokenExchangeResponseData = JSON.parse(responseString);