1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00

Fix spelling

This commit is contained in:
Bernd Schoolmann
2024-12-09 13:15:49 +01:00
parent 4f4dd1d7d1
commit 54f4d079a1

View File

@@ -4,13 +4,13 @@ import { UserId } from "@bitwarden/common/types/guid";
export class DesktopPinService extends PinService {
async getPinKeyEncryptedUserKeyEphemeral(userId: UserId): Promise<EncString> {
const epheremalValue = await ipc.platform.ephemeralStore.getEphemeralValue(
const ephemeralValue = await ipc.platform.ephemeralStore.getEphemeralValue(
`pinKeyEncryptedUserKeyEphemeral-${userId}`,
);
if (epheremalValue == null) {
if (ephemeralValue == null) {
return null;
} else {
return new EncString(epheremalValue);
return new EncString(ephemeralValue);
}
}