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 069bb7f commit 2087032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "",
"type": "library",
"license": "EUPL-1.1",
"version": "1.3.0",
"version": "1.3.1",
"require": {
"php": "^7.4|^8.0|^8.1",
"ext-curl": "*",
Expand Down
3 changes: 2 additions & 1 deletion src/Service/TwoFactorAuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Zone\Wildduck\Service;

use Zone\Wildduck\Collection2;
use Zone\Wildduck\Exception\ApiConnectionException;
use Zone\Wildduck\Exception\AuthenticationFailedException;
use Zone\Wildduck\Exception\InvalidAccessTokenException;
Expand Down Expand Up @@ -105,7 +106,7 @@ public function validateTOTPToken(string $user, $params = null, $opts = null): W
* @throws ApiConnectionException
* @throws ValidationException
*/
public function webAuthNCredentials(string $user, $params = null, $opts = null): WildduckObject
public function webAuthNCredentials(string $user, $params = null, $opts = null): Collection2
{
return $this->requestCollection('get', $this->buildPath('/users/%s/2fa/webauthn/credentials', $user), $params, $opts);
}
Expand Down

0 comments on commit 2087032

Please sign in to comment.