Node.js based forum software built for the modern web
fix: parse questions like a post
Julian Lam90e7d3a1c6bb
diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.jsindex 0cd37d97e0..e3e1917742 100644--- a/src/activitypub/mocks.js+++ b/src/activitypub/mocks.js@@ -77,7 +77,7 @@ Mocks.post = async (objects) => {}const posts = await Promise.all(objects.map(async (object) => {- const acceptedTypes = ['Note', 'Page', 'Article'];+ const acceptedTypes = ['Note', 'Page', 'Article', 'Question'];if (!acceptedTypes.includes(object.type)) {return null;}