This commit is contained in:
lesion
2021-11-09 13:05:34 +01:00
parent 25f5864964
commit 1ea508fc8a
2 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ const Helpers = {
return res.data
})
.catch(e => {
log.error(`get Actor ${URL}`, e)
log.error(`get Actor ${URL}`, String(e))
return false
})
@@ -181,7 +181,7 @@ const Helpers = {
let user = await Helpers.getActor(req.body.actor, instance)
if (!user) {
log.info(`Actor ${req.body.actor} not found`)
log.info(`Actor ${req.body.actor} not found`)
return res.status(401).send('Actor not found')
}
if (user.blocked) {