Untitled

Anonymous
plain_text
07/24/2024 8:46 AM
652 B
15
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