- Modified 'getById' reject message for accuracy. - Adjusted 'getBySlug' method parameters for clarity and renamed the field used in the SQL statement. - Added a new 'getById' method for retrieving models by ID. - Updated the 'insert' method to correctly insert data into the `models` table. - Refactored 'getBySlug' method for categories, renaming the parameter and making error messages more precise. Issue: #7 Signed-off-by: Mathis <yidhra@tuta.io>
brief-05-back
Languages
TypeScript
100%