From 90e7d3a1c6bbf9b481d237733a2727bb61a8fff2 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 10 Mar 2024 22:24:25 -0400 Subject: [PATCH] fix: parse questions like a post --- src/activitypub/mocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.js index 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; }