mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 16:34:01 +00:00
post -> register
This commit is contained in:
parent
63b2bde448
commit
63f4283017
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ pub fn config(cfg: &mut web::ServiceConfig, rate_limit: &RateLimit) {
|
||||||
.service(
|
.service(
|
||||||
web::resource("/community")
|
web::resource("/community")
|
||||||
.guard(guard::Post())
|
.guard(guard::Post())
|
||||||
.wrap(rate_limit.post())
|
.wrap(rate_limit.register())
|
||||||
.route(web::post().to(route_post::<CreateCommunity>)),
|
.route(web::post().to(route_post::<CreateCommunity>)),
|
||||||
)
|
)
|
||||||
.service(
|
.service(
|
||||||
|
|
Loading…
Reference in a new issue