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:
parent
5fba9eb899
commit
ab5d862ce8
11 changed files with 67 additions and 38 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue