fix typo
This commit is contained in:
parent
2c55292544
commit
643189160e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ pub fn config(cfg: &mut web::ServiceConfig) {
|
||||||
.route("/api/v1/list_categories", web::get().to(route::<ListCategories, ListCategoriesResponse>))
|
.route("/api/v1/list_categories", web::get().to(route::<ListCategories, ListCategoriesResponse>))
|
||||||
.route("/api/v1/get_post", web::get().to(route::<GetPost, GetPostResponse>))
|
.route("/api/v1/get_post", web::get().to(route::<GetPost, GetPostResponse>))
|
||||||
.route("/api/v1/get_community", web::get().to(route::<GetCommunity, GetCommunityResponse>))
|
.route("/api/v1/get_community", web::get().to(route::<GetCommunity, GetCommunityResponse>))
|
||||||
.route("/api/v1/create_communent", web::post().to(route::<CreateComment, CommentResponse>))
|
.route("/api/v1/create_comment", web::post().to(route::<CreateComment, CommentResponse>))
|
||||||
.route("/api/v1/edit_comment", web::post().to(route::<EditComment, CommentResponse>))
|
.route("/api/v1/edit_comment", web::post().to(route::<EditComment, CommentResponse>))
|
||||||
.route("/api/v1/save_comment", web::post().to(route::<SaveComment, CommentResponse>))
|
.route("/api/v1/save_comment", web::post().to(route::<SaveComment, CommentResponse>))
|
||||||
.route("/api/v1/create_comment_like", web::post().to(route::<CreateCommentLike, CommentResponse>))
|
.route("/api/v1/create_comment_like", web::post().to(route::<CreateCommentLike, CommentResponse>))
|
||||||
|
|
Loading…
Reference in a new issue