Untitled

Anonymous
Plain Text
07/24/2024 8:46 AM
488 B
17
Indexable
Never
// Verify single cars  ID + slug
CarRoutes.post('/verifyListOfCars', carController.verifyListOfCars);

// Verify single car by ID + slug
CarRoutes.post('/verifyCarById', carController.verifyCarById);

CarRoutes.get(
  '/slugs-and-ids',
  checkPermission('cars', 'vehicles', 'getAllVehicles'),
  carController.getAllCarsBySlugAndId,
);


CarRoutes.get(
  '/slug-and-id/:id',
  // checkPermission('cars', 'vehicles', 'getAllVehicles'),
  carController.getCarBySlugAndId,
);
Editor is loading...
Leave a Comment