Node.js based forum software built for the modern web
chore: forgot to remove bad code
Julian Lam865c09a5cfcf
diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.jsindex 5e26329f1f..3ea4c03494 100644--- a/src/activitypub/mocks.js+++ b/src/activitypub/mocks.js@@ -187,12 +187,12 @@ Mocks.post = async (objects) => {}switch (true) {- case image && image.hasOwnProperty('url') && image.url && mime.getType(image.url).startsWith('image/'): {+ case image && image.hasOwnProperty('url') && image.url: {image = image.url;break;}- case image && typeof image === 'string' && mime.getType(image).startsWith('image/'): {+ case image && typeof image === 'string': {// no changebreak;}