mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: missing return
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user