From 8c732e89d0c65f2d188438c7f0331852ee04d235 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 20:55:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- app/routers/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/frontend.py b/app/routers/frontend.py index ea1756f..0fff6f6 100644 --- a/app/routers/frontend.py +++ b/app/routers/frontend.py @@ -104,7 +104,7 @@ async def search_patient( cns: str = None, name: str = None, ) -> List[dict]: - + filled_param_count = sum([bool(cpf), bool(cns), bool(name)]) if filled_param_count == 0: return JSONResponse(