From: Felix Date: Thu, 16 Jan 2020 16:04:37 +0000 (+0100) Subject: fix typo X-Git-Url: http://these/git/%22https:/nerdica.net/static/%7Blink%7D?a=commitdiff_plain;h=643189160ec598d0c093561a100be6afd081013a;p=lemmy.git fix typo --- diff --git a/server/src/routes/api.rs b/server/src/routes/api.rs index b7fb773f..41d92dfd 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::))