Skip to content

Commit

Permalink
fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
lalewis1 committed Oct 22, 2024
1 parent a1dea8e commit abdb426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prez/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async def generate_search_query(request: Request):
limit = int(limit) if limit else settings.search_count_limit
offset = limit * (int(page) - 1)

if settings.search_method == SearchMethod.default:
if settings.search_method == SearchMethod.DEFAULT:
return SearchQueryRegex(
term=escaped_term,
predicates=predicates,
Expand Down

0 comments on commit abdb426

Please sign in to comment.