The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

hettlage (136) [Avatar] Offline
You are using a PUT request for the editTask function in Listing 4.11. However, judging from Listing 2.22, the params object passed to the function only contains a subset of the task details (namely the status). json-server seems to drop the missing details in the database file, so that you are left without title or description. Would it make more sense to use a PATCH request instead?
hettlage (136) [Avatar] Offline
Ah, my apologies. I see you are adding the missing details in your editTask action creator.