Skip to content

Commit

Permalink
Merge branch 'develop' into hotfix/update_available_languages
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed Oct 25, 2021
2 parents 83e4ac5 + 3ed6f57 commit 5c02d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bothub/api/v2/examples/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def filter_repository_uuid(self, queryset, name, value):
if not authorization.can_translate:
raise PermissionDenied()
if request.query_params.get("repository_version"):
return repository.examples(queryset=queryset, version_default=False)
return queryset
return repository.examples(queryset=queryset)
except Repository.DoesNotExist:
raise NotFound(_("Repository {} does not exist").format(value))
Expand Down

0 comments on commit 5c02d81

Please sign in to comment.