Untitled

 avatar
unknown
plain_text
a year ago
488 B
3
Indexable
// 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