1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00

use parseCredentialId instead of guidToRawFormat

This commit is contained in:
Anders Åberg
2025-02-27 20:47:37 +01:00
parent f5c6b682bd
commit 866d8c4c27

View File

@@ -23,9 +23,9 @@ import {
} from "@bitwarden/common/platform/abstractions/fido2/fido2-authenticator.service.abstraction";
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
import { Utils } from "@bitwarden/common/platform/misc/utils";
import { parseCredentialId } from "@bitwarden/common/platform/services/fido2/credential-id-utils";
import { getCredentialsForAutofill } from "@bitwarden/common/platform/services/fido2/fido2-autofill-utils";
import { Fido2Utils } from "@bitwarden/common/platform/services/fido2/fido2-utils";
import { guidToRawFormat } from "@bitwarden/common/platform/services/fido2/guid-utils";
import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service";
import { CipherType } from "@bitwarden/common/vault/enums";
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
@@ -198,7 +198,7 @@ export class DesktopAutofillService implements OnDestroy {
}
request.credentialId = Array.from(
guidToRawFormat(decrypted.login.fido2Credentials?.[0].credentialId),
parseCredentialId(decrypted.login.fido2Credentials?.[0].credentialId),
);
}