Skip to content

Commit

Permalink
re added standard filter to recipe api
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Nov 4, 2020
1 parent 591d185 commit 4dfda44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class RecipeViewSet(viewsets.ModelViewSet, StandardFilterMixin):
permission_classes = [CustomIsShare | CustomIsGuest] # TODO split read and write permission for meal plan guest

def get_queryset(self):
queryset = self.queryset
queryset = super().get_queryset()

internal = self.request.query_params.get('internal', None)
if internal:
Expand Down

0 comments on commit 4dfda44

Please sign in to comment.