mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
fix: closes #12618, handle missing selector
catch errors in activitypub api missing await on next()
This commit is contained in:
@@ -29,7 +29,7 @@ function enabledCheck(next) {
|
||||
return noop;
|
||||
}
|
||||
|
||||
next(caller, params);
|
||||
await next(caller, params);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user