From c7d296fcc462dcd08a05ab891d1270509040b5b1 Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 3 Apr 2019 00:21:11 +0200 Subject: [PATCH] Fixes #361 --- backend/src/activitypub/NitroDataSource.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/activitypub/NitroDataSource.js b/backend/src/activitypub/NitroDataSource.js index 4225e02ea..0ab6db091 100644 --- a/backend/src/activitypub/NitroDataSource.js +++ b/backend/src/activitypub/NitroDataSource.js @@ -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)) }) )