1
0

fix: send null for empty edited_at in mastodon api

This commit is contained in:
Sugar🍬🍭🏳️‍⚧
2024-04-01 20:17:53 +02:00
committed by Sugar
parent 126248e58d
commit e779c1e667
13 changed files with 15 additions and 2 deletions
@@ -283,6 +283,7 @@ namespace MisskeyAPI {
: '',
plain_content: n.text ? n.text : null,
created_at: n.createdAt,
edited_at: n.updatedAt || null,
emojis: mapEmojis(n.emojis).concat(mapReactionEmojis(n.reactionEmojis)),
replies_count: n.repliesCount,
reblogs_count: n.renoteCount,