Closed markkovari closed 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.
status
badRequest
notFound
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; likebadRequest
ornotFound
etc.