cargo check: Fix identities route complaints As the route is at this time not doing anything as identities cannot be stored right now, the endpoint can ignore a lot of path elements. This fixes `cargo check` for the most part.

zj
Sep 21, 2021, 9:32 AM
GT4TOOS4CJLXQJCE2LUPTJSBZPI5472SXECBUFZSCVTZINWYGTSAC

Dependencies

  • [2] S6TFYMRG routes: Move pijul routes to controllers module As with the root routes, now the pijul routes are moved. The mounting of the routes is still done in main.rs though the controller module now collects them. This should DRY this code

Change contents

  • replacement in src/controllers/pijul.rs at line 117
    [2.3285][2.3285:3448]()
    #[get("/<org_path>/<proj_path>/.pijul?<identities>", rank = 4)]
    fn identities(org_path: String, proj_path: String, identities: Identities) -> Json<IdentitieRes> {
    [2.3285]
    [2.3448]
    #[get("/<_>/<_>/.pijul?<identities>", rank = 4)]
    fn identities(identities: Identities) -> Json<IdentitieRes> {
    println!("{:?}", identities.identities);