Add "manuallyApprovesFollowers": true (always) to /u/:actor json

This commit is contained in:
Niko 2022-02-16 18:39:36 +01:00
parent e3c3bf6b11
commit 88db838830
1 changed files with 6 additions and 0 deletions

View File

@ -14,5 +14,11 @@ module.exports = {
}
next()
})
apex.net.actor.get.splice(apex.net.actor.get.length-1, 0,
async (req, res, next) => {
res.locals.apex.target
.manuallyApprovesFollowers = true
next()
})
},
}