summaryrefslogtreecommitdiff
path: root/src/invite/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/invite/routes')
-rw-r--r--src/invite/routes/mod.rs4
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))
}