This commit is contained in:
lesion
2023-05-16 17:17:45 +02:00
parent 0b9a45e020
commit c4362de152
3 changed files with 5 additions and 2 deletions

View File

@@ -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