From cf3555faaa31f7f199843e3b775c4ed41ee33d6c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 31 Oct 2024 11:59:42 -0400 Subject: [PATCH] fix: missing return --- src/activitypub/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/index.js b/src/activitypub/index.js index 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