Skip to content

Refacto registering routes in main.rs #23

@jenoh

Description

@jenoh

Change this :
.service(metrics::add_metrics)
.service(agents::add_agents)
.service(roles::add_role)
.service(roles::get_roles)
in order to don't call twice a mod (something like .service(roles)) witch contain all routes of the mod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions