From: asonix Date: Mon, 20 Apr 2020 18:05:07 +0000 (-0500) Subject: post -> register X-Git-Url: http://these/git/%22/display/44b525e5-4101b003e005e70a-d472d963/static/readmes/README.ja.md?a=commitdiff_plain;h=d11af012fc1ba2de7684235ef92bf5954a5dab26;p=lemmy.git post -> register --- diff --git a/server/src/routes/api.rs b/server/src/routes/api.rs index 629bd49d..74ad7239 100644 --- a/server/src/routes/api.rs +++ b/server/src/routes/api.rs @@ -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::)), ) .service(