From 993340bae6c1edf8591e0d3a32d153e850eb0254 Mon Sep 17 00:00:00 2001 From: naskya Date: Mon, 23 Oct 2023 18:32:33 +0900 Subject: [PATCH] fix: overlooked fix in cdf839bc --- packages/backend/src/remote/activitypub/models/person.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/remote/activitypub/models/person.ts b/packages/backend/src/remote/activitypub/models/person.ts index 1db90ad7f1..ab017b65ac 100644 --- a/packages/backend/src/remote/activitypub/models/person.ts +++ b/packages/backend/src/remote/activitypub/models/person.ts @@ -456,7 +456,7 @@ export async function updatePerson( const emojiNames = emojis.map((emoji) => emoji.name); - const { fields } = analyzeAttachments(person.attachment || []); + const fields = analyzeAttachments(person.attachment || []); const tags = extractApHashtags(person.tag) .map((tag) => normalizeForSearch(tag))