fix: i forgor to add this file

This commit is contained in:
Mar0xy 2023-09-25 21:11:15 +02:00
parent a847e4d5cc
commit 0ed87ddef2
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -264,7 +264,7 @@ namespace MisskeyAPI {
id: n.id, id: n.id,
uri: n.uri ? n.uri : host ? `https://${host}/notes/${n.id}` : '', uri: n.uri ? n.uri : host ? `https://${host}/notes/${n.id}` : '',
url: n.url ? n.url : host ? `https://${host}/notes/${n.id}` : '', url: n.url ? n.url : host ? `https://${host}/notes/${n.id}` : '',
account: user(n.user, n.user.host ? n.user.host : host ? host : null), account: userDetail(n.user, n.user.host ? n.user.host : host ? host : null),
in_reply_to_id: n.replyId, in_reply_to_id: n.replyId,
in_reply_to_account_id: n.reply?.userId ?? null, in_reply_to_account_id: n.reply?.userId ?? null,
reblog: n.renote ? note(n.renote, n.user.host ? n.user.host : host ? host : null) : null, reblog: n.renote ? note(n.renote, n.user.host ? n.user.host : host ? host : null) : null,