From d11af012fc1ba2de7684235ef92bf5954a5dab26 Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 20 Apr 2020 13:05:07 -0500 Subject: [PATCH] post -> register --- server/src/routes/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.44.1