diff --git a/packages/bsky/src/hydration/label.ts b/packages/bsky/src/hydration/label.ts index 458d46fcfc5..9b47e0454ae 100644 --- a/packages/bsky/src/hydration/label.ts +++ b/packages/bsky/src/hydration/label.ts @@ -40,8 +40,9 @@ export class LabelHydrator { if (!subjects.length || !issuers.length) return new HydrationMap() const res = await this.dataplane.getLabels({ subjects, issuers }) return res.labels.reduce((acc, cur) => { - const label = parseJsonBytes(cur) as Label | undefined - if (!label || label.neg) return acc + const parsed = parseJsonBytes(cur) as Label | undefined + if (!parsed || parsed.neg) return acc + const { sig: _, ...label } = parsed const entry = acc.get(label.uri) if (entry) { entry.push(label)