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:
parent
38db065749
commit
15a847466a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user