Skip to content

API: Inconsistency between GET /settings/profile and PUT /settings/profile #2877

@marhei

Description

@marhei

If the user has disabled automatic status hiding, the privacyHideDays key will return 0, but you need to set the same key to null on the PUT /settings/profile endpoint to avoid getting an error that it should be at least 1. For consistency, the GET /settings/profile endpoint should also return null if this option is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions