fix: stop function when response is sent

This commit is contained in:
Yarmo Mackenbach 2024-09-01 11:56:51 +02:00
parent 0b130bcada
commit 3681b9f86a
No known key found for this signature in database
GPG key ID: C248C28D432560ED

View file

@ -121,6 +121,7 @@ router.get('/fetch',
if ('errors' in data && data.errors.length > 0) {
res.status(500).send(data)
return
}
// Do verification