diff --git a/src/api_routes.rs b/src/api_routes.rs index 1af9f028f1..61efa00554 100644 --- a/src/api_routes.rs +++ b/src/api_routes.rs @@ -29,7 +29,7 @@ pub fn config(cfg: &mut web::ServiceConfig, rate_limit: &RateLimit) { ) .service( web::resource("/search") - .wrap(rate_limit.message()) + .wrap(rate_limit.comment()) .route(web::get().to(route_get::)), ) .service(