Refine board notes, clipping evidence, and case reports

This commit is contained in:
2026-08-22 23:19:46 +02:00
parent 189a98cc64
commit fae5200846
19 changed files with 256 additions and 124 deletions
-1
View File
@@ -213,7 +213,6 @@ app.post('/api/levels/:id/report/submissions', async (req, res, next) => {
try {
const report = await submitCaseReport(pool,String(req.params.id),{
investigatorName:String(req.body?.investigatorName || resolvePlayerName(req)),
evidence:Array.isArray(req.body?.evidence) ? req.body.evidence : [],
})
report ? res.status(201).json(report) : res.status(404).json({ error:'Level not found' })
} catch (error) { next(error) }