mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 06:49:29 -07:00
fix: stop function when response is sent
This commit is contained in:
parent
0b130bcada
commit
3681b9f86a
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ router.get('/fetch',
|
|||
|
||||
if ('errors' in data && data.errors.length > 0) {
|
||||
res.status(500).send(data)
|
||||
return
|
||||
}
|
||||
|
||||
// Do verification
|
||||
|
|
Loading…
Reference in a new issue