post -> register

pull/722/head
asonix 4 years ago
parent d058db95e5
commit d11af012fc

@ -43,7 +43,7 @@ pub fn config(cfg: &mut web::ServiceConfig, rate_limit: &RateLimit) {
.service(
web::resource("/community")
.guard(guard::Post())
.wrap(rate_limit.post())
.wrap(rate_limit.register())
.route(web::post().to(route_post::<CreateCommunity>)),
)
.service(

Loading…
Cancel
Save