1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-22 21:21:35 +01:00

[PM-2014] fix: remove undefined

This commit is contained in:
Andreas Coroiu 2023-09-27 11:07:32 +02:00
parent 38db065749
commit 15a847466a
No known key found for this signature in database
GPG Key ID: E70B5FFC81DFEC1A

View File

@ -36,7 +36,7 @@ export class WebauthnLoginService {
async getCredentialCreateOptions(
verification: Verification
): Promise<CredentialCreateOptionsView | undefined> {
): Promise<CredentialCreateOptionsView> {
const response = await this.apiService.getCredentialCreateOptions(verification);
return new CredentialCreateOptionsView(response.options, response.token);
}