Skip to content

Commit

Permalink
Update project search API
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r committed Sep 16, 2024
1 parent 9e04820 commit 2aaab3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/owasp/api/search/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def get_projects(query, limit=25):

def projects(request):
"""Search projects API endpoint."""
return JsonResponse(raw_search(get_projects(request.GET.get("q", "")))["hits"], safe=False)
return JsonResponse(get_projects(request.GET.get("q", "")), safe=False)

0 comments on commit 2aaab3a

Please sign in to comment.