Skip to content

Commit

Permalink
Fix Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vincevd1 committed Oct 23, 2024
1 parent 8d6e49d commit 83889b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions website/orders/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,7 @@ class OrderVenueActiveShiftAPIView(APIView):

serializer_class = ShiftSerializer
permission_classes = [IsAuthenticatedOrTokenHasScopeForMethod]
required_scopes_for_method = {
"GET": ["orders:order"]
}
required_scopes_for_method = {"GET": ["orders:order"]}

def get(self, request, **kwargs):
"""Get the active shift of an order venue if there is one, otherwise return 404."""
Expand Down

0 comments on commit 83889b9

Please sign in to comment.