You had to show that you have an ID in your database called ClubID. I created just the id field by instinct and then for a long time I could not fix the 400 and 500 errors. But anyway, thanks for the practical work, because in theory I can’t learn the spring.
I got an error when following this unfortunately, as I think you've used the mapToClubDTO() method in the updateClub() method instead of mapToClub(). As my clubDTO and club objects aren't exactly the same its caused a problem :(
you made my day dude with such a great guide
Hello Teddy, Great content!
You had to show that you have an ID in your database called ClubID. I created just the id field by instinct and then for a long time I could not fix the 400 and 500 errors. But anyway, thanks for the practical work, because in theory I can’t learn the spring.
Please more explanations on why somethings you added will be really great.
Good idea 🤔
I got an error when following this unfortunately, as I think you've used the mapToClubDTO() method in the updateClub() method instead of mapToClub(). As my clubDTO and club objects aren't exactly the same its caused a problem :(