Implement announce
And bug fixes
This commit is contained in:
parent
0004944708
commit
6e34e77372
17 changed files with 164 additions and 300 deletions
|
|
@ -16,7 +16,7 @@ app.get('/@:user/outbox', withUser(username => {
|
|||
sort: { _id: -1 }
|
||||
});
|
||||
|
||||
const renderedNotes = await Promise.all(notes.map(note => renderNote(user, note)));
|
||||
const renderedNotes = await Promise.all(notes.map(note => renderNote(note)));
|
||||
const rendered = renderOrderedCollection(`${config.url}/@${user.username}/inbox`, user.notesCount, renderedNotes);
|
||||
rendered['@context'] = context;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue