Skip to content

Commit

Permalink
Merge branch 'search-adjustments' of https://github.com/prefeitura-ri…
Browse files Browse the repository at this point in the history
…o/historico-clinico-integrado into search-adjustments
  • Loading branch information
TanookiVerde committed Jan 8, 2025
2 parents 317d57c + 8c732e8 commit 4ccc394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routers/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4ccc394

Please sign in to comment.