do not allow move item to source box

This commit is contained in:
np.w
2021-02-19 20:11:20 -06:00
parent 52b22ebcae
commit 6d72ee24ad
2 changed files with 4 additions and 2 deletions
-1
View File
@@ -111,7 +111,6 @@ app.delete('/box/:boxId/item/:itemId', async (request, response) => {
const box = await getBox(boxID);
response.send(box);
});
//move item
app.post('/box/item/:itemId/:boxIdTarget', async (request, response) => {
const itemID = request.params.itemId;