gfa-cc-after / Pet-Clinic-GilmoreDevs

Pet clinic project made by group 2
https://frontend-production-e146.up.railway.app/
GNU General Public License v3.0
2 stars 0 forks source link

Two different API to build http messages #41

Closed markkovari closed 3 months ago

markkovari commented 3 months ago

https://github.com/gfa-cc-after/Pet-Clinic-GilmoreDevs/blob/ad4c954038045d9cde5a59277fb26bfbafaa397c/backend/src/main/java/com/greenfoxacademy/backend/controller/UserController.java#L67-L69

We probably should use the status one everywhere, or use its shorthand counterpart; like badRequest or notFound etc.