materialsproject / api

New API client for the Materials Project
https://materialsproject.github.io/api/
Other
105 stars 34 forks source link

replace method post with patch for user setting #829

Closed yang-ruoxi closed 11 months ago

yang-ruoxi commented 11 months ago

Replaced the user setting post method with the patch method. The reason for the change is that now we have a settings.message_last_read nested field that couldn't be changed manually by the user, and it would make sense to only partially update some fields in the settings.