diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js index 4da3b27cdd..ed8d683e81 100644 --- a/src/activitypub/inbox.js +++ b/src/activitypub/inbox.js @@ -359,7 +359,7 @@ inbox.flag = async (req) => { // Check if the actor is valid if (!await activitypub.actors.assert(actor)) { - reject('Flag', objects, actor); + return reject('Flag', objects, actor); } await Promise.all(subjects.map(async (subject, index) => {