dont send the selection back, use 200 instead
This commit is contained in:
parent
42ca88f627
commit
b900d4c28b
|
@ -10,7 +10,8 @@ export default function(): IRouter {
|
||||||
if (!(body.selection instanceof Array)) { res.send(400); return; }
|
if (!(body.selection instanceof Array)) { res.send(400); return; }
|
||||||
|
|
||||||
req.session.selection = body.selection;
|
req.session.selection = body.selection;
|
||||||
res.send(req.session.selection);
|
res.status(200);
|
||||||
|
res.send('');
|
||||||
return
|
return
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue