From 63f4283017f0d75888b573d8e30c645e1a8b1b5c 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 629bd49da..74ad7239b 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(