mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 06:27:59 +00:00
actor: add missing fields
This commit is contained in:
parent
257aeb5c4e
commit
2d16ed3cde
|
@ -30,12 +30,14 @@ async def actor(request):
|
|||
"inbox": "https://{}/inbox".format(request.host),
|
||||
"name": "Viera",
|
||||
"type": "Application",
|
||||
"id": "https://{}/actor".format(request.host),
|
||||
"publicKey": {
|
||||
"id": "https://{}/actor#main-key".format(request.host),
|
||||
"owner": "https://{}/actor".format(request.host),
|
||||
"publicKeyPem": DATABASE["actorKeys"]["publicKey"]
|
||||
},
|
||||
"summary": "Viera, the bot"
|
||||
"summary": "Viera, the bot",
|
||||
"preferredUsername": "viera"
|
||||
}
|
||||
return aiohttp.web.json_response(data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue