From 79edc87a13dddfb54a70996fdc57db8fae7f85fc Mon Sep 17 00:00:00 2001 From: Lawon Lewis Date: Tue, 22 Oct 2024 12:49:17 +1000 Subject: [PATCH] fix casing --- prez/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prez/dependencies.py b/prez/dependencies.py index e2e02a0f..ad5e1764 100755 --- a/prez/dependencies.py +++ b/prez/dependencies.py @@ -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,