Updated: Warehouse image endpoint logic

This commit is contained in:
Llewellyn D'souza
2021-12-29 09:57:49 +05:30
parent e221527ae8
commit edd8ff9bb2
2 changed files with 13 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ router.post("/", controller.createWarehouse);
* @route /warehouse/add-image
*/
router.post(
"/add-image",
"/add-image/:id",
upload.single("warehouse-image"),
controller.addWarehouseImage
);