forked from spacebar/SplatNet-Backend
fix: accept submissions if validation failed
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) {
|
} catch (err) {
|
||||||
console.error(`Caught error when validating ${pid}:`, err.message || err);
|
console.error(`Caught error when validating ${pid}:`, err.message || err);
|
||||||
isPidValid = false;
|
isPidValid = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isPidValid) {
|
if (!isPidValid) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue