fix: parse questions like a post

This commit is contained in:
Julian Lam
2024-03-10 22:24:25 -04:00
parent 1e6632392b
commit 90e7d3a1c6

View File

@@ -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;
}