changelog, codestyle

This commit is contained in:
jonaswinkler
2020-11-30 16:25:10 +01:00
parent 0d9ada8ff9
commit a913dcd8c5
2 changed files with 3 additions and 3 deletions

View File

@@ -217,7 +217,7 @@ class SearchView(APIView):
}
def get(self, request, format=None):
if not 'query' in request.query_params:
if 'query' not in request.query_params:
return Response({
'count': 0,
'page': 0,