[lib.domain] use args_check by default, even on async functions

This commit is contained in:
Maxime Alves LIRMM 2021-11-30 01:52:02 +01:00
parent a6985fa9bf
commit 55878df260
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def gen_routes(m_router: ModuleType,
if not inspect.iscoroutinefunction(fct):
return route_decorator(fct), params
else:
return fct, params
return acl.args_check(fct), params
def gen_router_routes(m_router: ModuleType, path: List[str]) -> \