Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

User admin API returns integers instead of booleans on SQLite, or the documentation is incorrect #13519

@squahtx

Description

@squahtx

Similar to #13505.
Originally reported by @jplatte in #13509 (comment):

Description

The first example on https://matrix-org.github.io/synapse/develop/admin_api/user_admin_api.html shows this:

    "is_guest": 0,
    "admin": 0,
    "deactivated": 0,
    "shadow_banned": 0,

but some of these fields are mentioned as being bool further down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Admin-APIA-DatabaseDB stuff like queries, migrations, new/remove columns, indexes, unexpected entries in the dbA-SQLiteDatabase issues specific to SQLiteO-UncommonMost users are unlikely to come across this or unexpected workflowS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions