From 288a1943925707f1ec1b499802d610c4b3b4a950 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Thu, 5 Jan 2023 22:53:21 +0100 Subject: [PATCH] fixup: return just the href --- packages/backend/src/remote/activitypub/models/tag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/remote/activitypub/models/tag.ts b/packages/backend/src/remote/activitypub/models/tag.ts index e76713963..dfac2ef98 100644 --- a/packages/backend/src/remote/activitypub/models/tag.ts +++ b/packages/backend/src/remote/activitypub/models/tag.ts @@ -50,5 +50,5 @@ export function extractQuoteUrl(tags: IObject | IObject[] | null | undefined): s // If there is more than one quote, we just pick the first/a random one. // Note that links with the correct `rel` were sorted to the front above // so they will be preferred. - return quotes[0]; + return quotes[0].href; }