dont send the selection back, use 200 instead

This commit is contained in:
b1ek 2024-11-11 20:45:19 +10:00
parent 42ca88f627
commit b900d4c28b
Signed by: blek
GPG Key ID: A622C22C9BC616B2
1 changed files with 2 additions and 1 deletions

View File

@ -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
});