Skip to content

Commit

Permalink
release(1.3.1) - Fixed WebAuthnCredentials request return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Joosep Jõeleht authored and Joosep Jõeleht committed May 11, 2022
1 parent 2087032 commit 4bb13d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/TwoFactorAuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ public function validateTOTPToken(string $user, $params = null, $opts = null): W
* @throws ApiConnectionException
* @throws ValidationException
*/
public function webAuthNCredentials(string $user, $params = null, $opts = null): Collection2
public function webAuthNCredentials(string $user, $params = null, $opts = null): WildduckObject
{
return $this->requestCollection('get', $this->buildPath('/users/%s/2fa/webauthn/credentials', $user), $params, $opts);
return $this->request('get', $this->buildPath('/users/%s/2fa/webauthn/credentials', $user), $params, $opts);
}

/**
Expand Down

0 comments on commit 4bb13d6

Please sign in to comment.