fix: send null for empty edited_at in mastodon api
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user