diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-02-19 21:22:03 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-02-19 21:22:03 -0500 |
| commit | 74f80d5c11d0a212a545f053bfd4ca160bcedcd8 (patch) | |
| tree | 764b93d3b5723ee5ecebabba7fff89ea7abf0876 /src/invite | |
| parent | 8a2b499fc7e00e841c56d23ac41f4d587b728a50 (diff) | |
Upgrade Axum to 0.8.1.
Diffstat (limited to 'src/invite')
| -rw-r--r-- | src/invite/routes/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invite/routes/mod.rs b/src/invite/routes/mod.rs index 2f7375c..a25dcd9 100644 --- a/src/invite/routes/mod.rs +++ b/src/invite/routes/mod.rs @@ -13,6 +13,6 @@ mod test; pub fn router() -> Router<App> { Router::new() .route("/api/invite", post(post::handler)) - .route("/api/invite/:invite", get(invite::get::handler)) - .route("/api/invite/:invite", post(invite::post::handler)) + .route("/api/invite/{invite}", get(invite::get::handler)) + .route("/api/invite/{invite}", post(invite::post::handler)) } |
