mirror of
https://github.com/actions/checkout.git
synced 2026-02-12 22:14:52 +08:00
fix tests and update index.js
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user