Node.js based forum software built for the modern web
fix: missing return
Julian Lamcf3555faaa31
diff --git a/src/activitypub/index.js b/src/activitypub/index.jsindex 8a83be83e1..ef0c17ecb0 100644--- a/src/activitypub/index.js+++ b/src/activitypub/index.js@@ -515,7 +515,7 @@ ActivityPub.probe = async ({ uid, url }) => {return false;}try {- await checkHeader(meta.config.activitypubProbeTimeout || 2000);+ return await checkHeader(meta.config.activitypubProbeTimeout || 2000);} catch (e) {if (e.name === 'TimeoutError') {// Return early but retry for caching purposes