1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 22:29:45 +00:00
This commit is contained in:
2022-03-11 20:16:02 +01:00
parent 254b74282e
commit 5abb162233
6 changed files with 47 additions and 16 deletions

View File

@@ -236,7 +236,8 @@ async fn process_simple_route(route: &Route, req: &mut HttpRequestHandler) -> Re
}
let res: RequestResult = (route.func)(req);
let res = route.func.call(req).await;
requests_limit_helper::trigger_after(res.is_ok(), req, route)?;