Skip to content

Commit

Permalink
Include GitHub node_id field (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored Aug 31, 2023
1 parent 860b49a commit 1e81f39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Two/GithubProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ protected function mapUserToObject(array $user)
{
return (new User)->setRaw($user)->map([
'id' => $user['id'],
'nodeId' => $user['node_id'],
'nickname' => $user['login'],
'name' => Arr::get($user, 'name'),
'email' => Arr::get($user, 'email'),
Expand Down

0 comments on commit 1e81f39

Please sign in to comment.