fix: quote being returned as null instead of false on mastodon api

This commit is contained in:
Marie 2024-02-05 19:38:00 +00:00
parent 31a74dc591
commit 0aadc302c3

View file

@ -278,7 +278,7 @@ export class MastoConverters {
reactions: status.emoji_reactions,
emoji_reactions: status.emoji_reactions,
bookmarked: false,
quote: isQuote ? await this.convertReblog(status.reblog) : null,
quote: isQuote ? await this.convertReblog(status.reblog) : false,
edited_at: note.updatedAt?.toISOString(),
});
}