From: asonix Date: Mon, 20 Apr 2020 18:05:07 +0000 (-0500) Subject: post -> register X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%24%7B%60data:application/static/%7B%60https:/%7BmarkdownHelpUrl%7D?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(