cd51a04abab34f864641f845adb73d4364860f7b
The getAllCategory function is added in `category.controller.ts`. This function retrieves all categories and presents an error message if it fails. Specifically, it interacts with the Category service to get all categories, logs the process, and maps each element to an {`id`, `display_name`, `slug_name`} object before sending the response.
Issue: #12
Signed-off-by: Mathis <yidhra@tuta.io>
brief-05-back
Languages
TypeScript
100%