diff --git a/web/packages/new/photos/services/user-entity.ts b/web/packages/new/photos/services/user-entity.ts index c6cca31cc6..8641fd3ceb 100644 --- a/web/packages/new/photos/services/user-entity.ts +++ b/web/packages/new/photos/services/user-entity.ts @@ -125,11 +125,8 @@ export const userEntityDiff = async ( */ export const personDiff = async (entityKeyB64: string) => { const entities = await userEntityDiff("person", 0, entityKeyB64); - return Promise.all( - entities.map(async ({ data }) => { - if (!data) return undefined; - // return JSON.parse(await gunzip(data)) as unknown; - return JSON.parse(new TextDecoder().decode(data)) as unknown; - }), - ); + return entities.map(({ data }) => { + if (!data) return undefined; + return JSON.parse(new TextDecoder().decode(data)) as unknown; + }); };