API: Inconsistency between GET /settings/profile
and PUT /settings/profile
#2877
Labels
bug
Something isn't working
GET /settings/profile
and PUT /settings/profile
#2877
If the user has disabled automatic status hiding, the
privacyHideDays
key will return0
, but you need to set the same key tonull
on thePUT /settings/profile
endpoint to avoid getting an error that it should be at least1
. For consistency, theGET /settings/profile
endpoint should also returnnull
if this option is disabled.The text was updated successfully, but these errors were encountered: