Skip to content

Commit

Permalink
Fix: Case when the user send just owner or just projects
Browse files Browse the repository at this point in the history
  • Loading branch information
zMardone committed Dec 13, 2023
1 parent 1f7c7d9 commit b422a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bothub/api/v2/repository/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ def get_queryset(self, *args, **kwargs):
owner_id = self.request.query_params.get("owner_id")
nickname = self.request.query_params.get("nickname")

combined_queryset = None
combined_queryset = Repository.objects.none()

if project_uuid:
try:
Expand Down

0 comments on commit b422a07

Please sign in to comment.