fix: accept submissions if validation failed
All checks were successful
backend / docker (push) Successful in 3m6s
All checks were successful
backend / docker (push) Successful in 3m6s
This commit is contained in:
parent
37f7399edb
commit
3fe3913aa2
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ router.post('/post', postLimiter, async (request, response, next) => {
|
|||
}
|
||||
} catch (err) {
|
||||
console.error(`Caught error when validating ${pid}:`, err.message || err);
|
||||
isPidValid = false;
|
||||
isPidValid = true;
|
||||
}
|
||||
|
||||
if (!isPidValid) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue