forgot to finish the bot owner field in mastoapi
This commit is contained in:
parent
f76cfcc154
commit
71c772d6c9
@ -225,6 +225,8 @@ proc getMastoAPIUser*(user: User, cfg: Config): JsonNode =
|
||||
var botOwner = newJObject()
|
||||
botOwner["name"] = %"Automated by"
|
||||
botOwner["value"] = %(&"<a href=\"{getUrlPrefix(cfg)}/{user.botOwner}\" translate=\"no\">{user.botOwner}</a>")
|
||||
botOwner["verified_at"] = newJNull()
|
||||
fields.add(botOwner)
|
||||
|
||||
var userJson = newJObject()
|
||||
userJson["id"] = %user.id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user