Fixes storage service validation where id already ArrayBuffer

This commit is contained in:
Josh Perez 2021-04-28 12:01:29 -07:00 committed by GitHub
parent d203f125c6
commit 808c7dfb2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -364,7 +364,7 @@ async function generateManifest(
const localKeys: Set<string> = new Set();
manifestRecordKeys.forEach((identifier: ManifestRecordIdentifierClass) => {
const storageID = arrayBufferToBase64(identifier.raw.toArrayBuffer());
const storageID = arrayBufferToBase64(identifier.raw);
localKeys.add(storageID);
if (!remoteKeys.has(storageID)) {