minor
This commit is contained in:
@@ -63,7 +63,8 @@ const Helpers = {
|
||||
})
|
||||
log.debug(`signed ${ret.status} => ${ret.data}`)
|
||||
} catch (e) {
|
||||
log.error(`Response: ${e.response.status} ${e.response.data}`)
|
||||
log.debug(e)
|
||||
log.error(`Response: ${ret.status} ${ret.data}`)
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -62,7 +62,8 @@ module.exports = {
|
||||
include: [{ model: APUser, required: true, attributes: ['ap_id'] }]
|
||||
})
|
||||
if (!resource) {
|
||||
log.info(`Comment ${req.body.object.id} not found`)
|
||||
log.info(`Comment not found`)
|
||||
log.debug(req.body)
|
||||
return res.status(404).send('Not found')
|
||||
}
|
||||
// check if fedi_user that requested resource removal
|
||||
|
||||
Reference in New Issue
Block a user