mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: typo
This commit is contained in:
@@ -16,7 +16,7 @@ middleware.assertS2S = async function (req, res, next) {
|
||||
return next('route');
|
||||
}
|
||||
|
||||
const pass = activitypub.helpers.assertAccepts(accept) ||
|
||||
const pass = activitypub.helpers.assertAccept(accept) ||
|
||||
(contentType && activitypub._constants.acceptableTypes.includes(contentType));
|
||||
|
||||
if (!pass) {
|
||||
|
||||
Reference in New Issue
Block a user