mirror of
https://github.com/bitwarden/browser
synced 2026-02-16 00:24:52 +00:00
[PM-2014] fix: remove undefined
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user