1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-08-14 17:30:50 +00:00

fix tests and update index.js

This commit is contained in:
Nicolas Schweitzer 2025-01-22 11:55:00 +01:00
parent 5fba9eb899
commit ab5d862ce8
No known key found for this signature in database
11 changed files with 67 additions and 38 deletions

View file

@ -152,6 +152,6 @@ export async function getUserId(
const octokit = github.getOctokit(authToken, {
baseUrl: getServerApiUrl(baseUrl)
})
const user = await octokit.rest.users.getByUsername({username,});
const user = await octokit.rest.users.getByUsername({username})
return user.data.id
}