From 902e5a81f91cd36f17bbf28341fda00af253effd Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Fri, 17 Nov 2023 14:05:36 +0100 Subject: [PATCH] fix: pinned being set to null causing errors in masto api --- packages/backend/src/server/api/mastodon/converters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/converters.ts b/packages/backend/src/server/api/mastodon/converters.ts index 0383191399..8fc7dd0012 100644 --- a/packages/backend/src/server/api/mastodon/converters.ts +++ b/packages/backend/src/server/api/mastodon/converters.ts @@ -272,7 +272,7 @@ export class MastoConverters { poll: status.poll ?? null, application: null, //FIXME language: null, //FIXME - pinned: null, + pinned: false, reactions: status.emoji_reactions, emoji_reactions: status.emoji_reactions, bookmarked: false,