Skip to content

Commit 4bb13d6

Browse files
Joosep JõelehtJoosep Jõeleht
Joosep Jõeleht
authored and
Joosep Jõeleht
committed
release(1.3.1) - Fixed WebAuthnCredentials request return type
1 parent 2087032 commit 4bb13d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Service/TwoFactorAuthenticationService.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ public function validateTOTPToken(string $user, $params = null, $opts = null): W
106106
* @throws ApiConnectionException
107107
* @throws ValidationException
108108
*/
109-
public function webAuthNCredentials(string $user, $params = null, $opts = null): Collection2
109+
public function webAuthNCredentials(string $user, $params = null, $opts = null): WildduckObject
110110
{
111-
return $this->requestCollection('get', $this->buildPath('/users/%s/2fa/webauthn/credentials', $user), $params, $opts);
111+
return $this->request('get', $this->buildPath('/users/%s/2fa/webauthn/credentials', $user), $params, $opts);
112112
}
113113

114114
/**

0 commit comments

Comments
 (0)