fix: accept submissions if validation failed

This commit is contained in:
kittentm 2026-05-31 18:22:14 +02:00
commit 3fe3913aa2

View file

@ -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) {