The `category.controller.ts` has been updated to handle deleting a category and retrieving a category by slug. The `deleteCategory` function takes a category slug from the request params and first checks if the category exists before attempting to delete it. While the `getBySlugCategory` function simply retrieves a category by its slug. Issue: #12 Signed-off-by: Mathis <yidhra@tuta.io>
brief-05-back
Languages
TypeScript
100%