Merge branch 'master' into 342-merge_documentation

This commit is contained in:
Ulf Gebhardt 2019-04-06 09:45:37 +02:00 committed by GitHub
commit 6721b0d094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,7 @@ export default class NitroDataSource {
contentExcerpt
createdAt
author {
name
slug
}
}
}
@ -244,7 +244,7 @@ export default class NitroDataSource {
outboxCollection.totalItems = posts.length
await Promise.all(
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))
})
)