1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-21 20:04:02 +00:00

Pass through null

This commit is contained in:
Bernd Schoolmann
2026-01-09 14:50:06 +01:00
parent 2b3b54f039
commit 21cb0c11af

View File

@@ -301,7 +301,7 @@ export class Utils {
}
static fromUtf8ToUrlB64(utfStr: string): string {
return Utils.fromBufferToUrlB64(Utils.fromUtf8ToArray(utfStr).buffer as ArrayBuffer);
return Utils.fromBufferToUrlB64(Utils.fromUtf8ToArray(utfStr)?.buffer as ArrayBuffer);
}
static fromB64ToUtf8(b64Str: string): string {