diff --git a/app/routes/routes.js b/app/routes/routes.js index 8756292..b3e056e 100644 --- a/app/routes/routes.js +++ b/app/routes/routes.js @@ -668,7 +668,7 @@ router.delete("/establishments/:id",[verifySignature, verifyToken], establishmen /** * @swagger - * /api/company-profile/uploadCSV: + * /api/establishments/uploadCSV: * post: * summary: Upload Establishment data in bulk using CSV file * description: This API accepts CSV file and inserts multiple Establishment in bulk. CSV header columns must match Establishment table columns. @@ -695,7 +695,7 @@ router.delete("/establishments/:id",[verifySignature, verifyToken], establishmen * 500: * description: Server error */ -router.post("/company-profile/uploadCSV",[verifySignature, verifyToken, upload.single("file")], establishmentController.establishmentBulkUpload); +router.post("/establishments/uploadCSV",[verifySignature, verifyToken, upload.single("file")], establishmentController.establishmentBulkUpload);