From b900d4c28baa71153943a51750ce6b74a8915db1 Mon Sep 17 00:00:00 2001 From: b1ek Date: Mon, 11 Nov 2024 20:45:19 +1000 Subject: [PATCH] dont send the selection back, use 200 instead --- back/src/routes/selection.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/back/src/routes/selection.ts b/back/src/routes/selection.ts index be27caa..fdbb99d 100644 --- a/back/src/routes/selection.ts +++ b/back/src/routes/selection.ts @@ -10,7 +10,8 @@ export default function(): IRouter { if (!(body.selection instanceof Array)) { res.send(400); return; } req.session.selection = body.selection; - res.send(req.session.selection); + res.status(200); + res.send(''); return });