Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Oct 3, 2024
1 parent 6d82830 commit cb9b7ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33331,7 +33331,7 @@ async function configure() {
async function exchangeToken(accessToken) {
core.info('Exchanging token...');
let output = '';
const returnCode = await exec.exec('curl', ['-X', 'GET', '-H', `https://www.plasticscm.com/api/oauth/unityid/exchange/${accessToken}`], {
const returnCode = await exec.exec('curl', ['-X', 'GET', '-H', 'Content-Type: application/json', `https://www.plasticscm.com/api/oauth/unityid/exchange/${accessToken}`], {
listeners: {
stdout: (data) => {
output += data.toString();
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async function configure() {
async function exchangeToken(accessToken: string): Promise<[string, string]> {
core.info('Exchanging token...');
let output: string = '';
const returnCode = await exec.exec('curl', ['-X', 'GET', '-H', `https://www.plasticscm.com/api/oauth/unityid/exchange/${accessToken}`], {
const returnCode = await exec.exec('curl', ['-X', 'GET', '-H', 'Content-Type: application/json', `https://www.plasticscm.com/api/oauth/unityid/exchange/${accessToken}`], {
listeners: {
stdout: (data: Buffer) => {
output += data.toString();
Expand Down

0 comments on commit cb9b7ca

Please sign in to comment.