Skip to content

Commit

Permalink
Merge pull request #536 from dmstr-forks/feature/dev-elias
Browse files Browse the repository at this point in the history
Fix client_id value by using the correct method
  • Loading branch information
maxxer authored Feb 9, 2024
2 parents 13a5420 + 484e025 commit 7b8e192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User/Query/SocialNetworkAccountQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function whereClient(AuthClientInterface $client)
return $this->andWhere(
[
'provider' => $client->getId(),
'client_id' => (string)$client->getUserAttributes()['id'],
'client_id' => (string)$client->getUserId(),
]
);
}
Expand Down

0 comments on commit 7b8e192

Please sign in to comment.