fix: return
This commit is contained in:
parent
547beac19f
commit
07b914111d
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ function ca (req, res) {
|
||||||
.then(ca => res.json({ ca }))
|
.then(ca => res.json({ ca }))
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
logger.error(error.message)
|
logger.error(error.message)
|
||||||
res.status(403).json({ error: 'forbidden' })
|
return res.status(403).json({ error: 'forbidden' })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue