pchatard / giftlist

A Nuxt and Express web application to create and share wishlists with your loved ones.
https://giftlist-blue.vercel.app/
1 stars 0 forks source link

[API] Edit List : Removing closureDate property #77

Closed pchatard closed 2 years ago

pchatard commented 2 years ago

When trying to edit a list, and removing an already set closureDate property, I get a 422 error.

I tried passing a null, an undefined or an empty string.

Could you please provide me a way of doing this ?

ndureiss commented 2 years ago

@pchatard ClosureDate can now be edited. To remove it, please use `null. For other optional fields, as strings, please pass an empty string.

ndureiss commented 2 years ago

Please close after checking the behavior.