This commit is contained in:
Manav Rathi
2024-08-10 20:04:50 +05:30
parent 2b7ee9f42f
commit a7fcf7da9b

View File

@@ -91,8 +91,12 @@ export const userEntityDiff = async (
sinceTime: number,
entityKeyB64: string,
): Promise<UserEntity[]> => {
const decrypt = (dataB64: string, headerB64: string) =>
decryptMetadataBytes(dataB64, headerB64, entityKeyB64);
const decrypt = (encryptedDataB64: string, decryptionHeaderB64: string) =>
decryptMetadataBytes({
encryptedDataB64,
decryptionHeaderB64,
keyB64: entityKeyB64,
});
const params = new URLSearchParams({
type,