mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge branch 'master' into 342-merge_documentation
This commit is contained in:
commit
6721b0d094
@ -227,7 +227,7 @@ export default class NitroDataSource {
|
|||||||
contentExcerpt
|
contentExcerpt
|
||||||
createdAt
|
createdAt
|
||||||
author {
|
author {
|
||||||
name
|
slug
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -244,7 +244,7 @@ export default class NitroDataSource {
|
|||||||
outboxCollection.totalItems = posts.length
|
outboxCollection.totalItems = posts.length
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
posts.map(async (post) => {
|
posts.map(async (post) => {
|
||||||
outboxCollection.orderedItems.push(await createArticleObject(post.activityId, post.objectId, post.content, post.author.name, post.id, post.createdAt))
|
outboxCollection.orderedItems.push(await createArticleObject(post.activityId, post.objectId, post.content, post.author.slug, post.id, post.createdAt))
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user