diff --git a/src/main.rs b/src/main.rs index 2d6a589..4eeb766 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ async fn main() { .route("/users/create", post(create_user)) .route("/users/auth", get(auth_user)) .route("/syncs/progress", put(update_progress)) - .route("/syncs/progress/{documenti}", get(get_progress)) + .route("/syncs/progress/{document}", get(get_progress)) .route("/healthcheck", get(healthcheck)); // run it with hyper on localhost:3003