Skip to content

Commit

Permalink
fix: Rename method
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Dec 10, 2024
1 parent 408300b commit a7d34f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Federation/CloudFederationProviderTalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public function getFederationIdFromSharedSecret(
array $payload,
): string {
try {
$invite = $this->invitationMapper->getByRemoteServerOnlyWithAccessToken($payload['remoteServerUrl'], $sharedSecret);
$invite = $this->invitationMapper->getByRemoteServerAndAccessToken($payload['remoteServerUrl'], $sharedSecret);
return $invite->getInviterCloudId();
} catch (DoesNotExistException) {
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/InvitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function getInvitationById(int $id): Invitation {
* @throws DoesNotExistException
* @internal Does not check user relation
*/
public function getByRemoteServerOnlyWithAccessToken(
public function getByRemoteServerAndAccessToken(
string $remoteServerUrl,
#[SensitiveParameter]
string $accessToken,
Expand Down

0 comments on commit a7d34f4

Please sign in to comment.