Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Jan 6, 2025
1 parent 9bd6b00 commit 82f0346
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 82f0346

Please sign in to comment.