Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atarkowska committed Apr 12, 2018
1 parent b3a78f5 commit 835da07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emgapi/views_relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_queryset(self):
.filter(sample_id__in=samples) \
.values("study_id")
queryset = emg_models.Study.objects.filter(study_id__in=studies) \
.available(self.context['request']).distinct()
.available(self.request).distinct()
return queryset

def list(self, request, *args, **kwargs):
Expand Down

0 comments on commit 835da07

Please sign in to comment.