Skip to content

Commit

Permalink
Update LinkedinProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
phcent authored Aug 26, 2023
1 parent c2e2710 commit 01aee0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/LinkedinProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function getEmailAddress(string $token): array
],
]);

return $this->fromJsonBody($response)['elements.0.handle~'] ?? [];
return $this->fromJsonBody($response)['elements'][0]['handle~'] ?? [];
}

/**
Expand Down

0 comments on commit 01aee0d

Please sign in to comment.