From 2fb4900b0cf586674d6212e0aa2c1b852d104a1a Mon Sep 17 00:00:00 2001 From: Felix Date: Thu, 16 Jan 2020 17:04:37 +0100 Subject: [PATCH] fix typo --- server/src/routes/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/api.rs b/server/src/routes/api.rs index b7fb773..41d92df 100644 --- a/server/src/routes/api.rs +++ b/server/src/routes/api.rs @@ -23,7 +23,7 @@ pub fn config(cfg: &mut web::ServiceConfig) { .route("/api/v1/list_categories", web::get().to(route::)) .route("/api/v1/get_post", web::get().to(route::)) .route("/api/v1/get_community", web::get().to(route::)) - .route("/api/v1/create_communent", web::post().to(route::)) + .route("/api/v1/create_comment", web::post().to(route::)) .route("/api/v1/edit_comment", web::post().to(route::)) .route("/api/v1/save_comment", web::post().to(route::)) .route("/api/v1/create_comment_like", web::post().to(route::))