Skip to content

Commit

Permalink
error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lepadatu committed Aug 26, 2024
1 parent 27848bd commit 0939b79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export async function main(
}

const jwt = await createJWT({ appId: appId, kmsKeyId: kmsKeyId} )
core.info(`tw: ${jwt}`)

let authentication, installationId, appSlug;
// If at least one repository is set, get installation ID from that repository
Expand Down Expand Up @@ -162,6 +163,8 @@ async function getTokenFromRepository(request, jwt, parsedOwner, parsedRepositor
throw error;
});

core.info(`noit: ${authentication}`)

const authentication = accessTokenResponse
const installationId = installationResponse.data.id;
const appSlug = installationResponse.data['app_slug'];
Expand Down

0 comments on commit 0939b79

Please # to comment.