I updated the end point /api/favorites/add with error handlers
Fixes # 193
Please provide a short summary how your changes can be tested?
npm run dev
check swagger in api/documentation
make a post request with a id value of string or smaller that 1 and get a 400 error. If non existent id you get a 500 error.
Description
I updated the end point /api/favorites/add with error handlers
Fixes # 193
Please provide a short summary how your changes can be tested?
npm run dev check swagger in api/documentation make a post request with a id value of string or smaller that 1 and get a 400 error. If non existent id you get a 500 error.
Checklist