Compare commits

...

2 commits

Author SHA1 Message Date
Amelia Yukii
34b4646b9f merge: fix: quote being returned as null instead of false on mastodon api (!407)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/407

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-06 19:49:12 +00:00
Marie
0aadc302c3 fix: quote being returned as null instead of false on mastodon api 2024-02-05 19:38:00 +00:00

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(),
});
}