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 New Issue