Skip to content

New route GET /settings/bitwarden for consistency #3864

@zatteo

Description

@zatteo

Hey,

Do you think it is possible to add a route /settings/bitwarden to get io.cozy.settings.bitwarden document from io.cozy.settings database for consistency with other routes ?

Because currently we can't fetch this document with cozy-client query Q('io.cozy.settings').getById('io.cozy.settings.bitwarden') as is where as we can do Q('io.cozy.settings').getById('io.cozy.settings.instance').

See https://github.com/cozy/cozy-client/blob/fd111e1f673a3b82d9d2899f07590582ca5326a4/packages/cozy-stack-client/src/SettingsCollection.js#L36

Not really important, I will in any case make a quick fix on cozy-client to support current route /data/io.cozy.settings/io.cozy.settings.bitwarden, but I think worth noting for consistency.

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions