From 56c8f4ce168c917cfdc111a1c0840c607cf63434 Mon Sep 17 00:00:00 2001 From: David Fischer Date: Tue, 20 Feb 2018 13:56:03 -0800 Subject: [PATCH] Fix a 500 when searching for files with API v1 --- readthedocs/api/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/api/utils.py b/readthedocs/api/utils.py index 5323f05f1bf..43238f9aab9 100644 --- a/readthedocs/api/utils.py +++ b/readthedocs/api/utils.py @@ -43,7 +43,7 @@ class Meta: search_highlight = True """ - def get_search(self, request): + def get_search(self, request, **kwargs): self.method_check(request, allowed=['get']) self.is_authenticated(request) self.throttle_check(request)