Provide url property

This commit is contained in:
syuilo 2018-04-08 18:21:02 +09:00
parent 8a88365b8a
commit a1e6bb6fa3

View file

@ -10,6 +10,7 @@ export default user => {
id, id,
inbox: `${id}/inbox`, inbox: `${id}/inbox`,
outbox: `${id}/outbox`, outbox: `${id}/outbox`,
url: `${config.url}/@${user.username}`,
preferredUsername: user.username, preferredUsername: user.username,
name: user.name, name: user.name,
summary: user.description, summary: user.description,