Use id in uri instead of username
This commit is contained in:
parent
1fced8a59b
commit
e63f884bc6
14 changed files with 52 additions and 87 deletions
|
|
@ -34,7 +34,7 @@ export default async (note: INote) => {
|
|||
_id: note.userId
|
||||
});
|
||||
|
||||
const attributedTo = `${config.url}/@${user.username}`;
|
||||
const attributedTo = `${config.url}/users/${user._id}`;
|
||||
|
||||
return {
|
||||
id: `${config.url}/notes/${note._id}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue