From 689ee4136efbb833db9e9df7fb2743959e015072 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 7 Jan 2025 11:23:04 +0100 Subject: [PATCH] typo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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