Slackbot
11/13/2023, 12:38 AMalexove
11/13/2023, 2:24 AMGroovy Duke
11/13/2023, 8:24 PMdailySheet = dailySheetService.save(dailySheet)
Before making the change check to see if the DB is actually updated, and it's just the request that is sending back the old data.
Side note, in general, I usually dissuade developers from using Domain Objects as command objects because of security concerns. In this case, you might not have any, but if you did instead of using a Domain object, you could use a command object, which is like a Domain object without the persistence and implements the trait Validateable