Skip to content

Commit

Permalink
Fix pydocstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
KiOui committed Sep 6, 2023
1 parent def7eba commit d1c9362
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions website/fridges/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ class FridgeUnlockAPIView(ClientProtectedResourceMixin, APIView):
"""API view for testing whether a Fridge is allowed to be unlocked."""

def post(self, request, *args, **kwargs):
"""
Process a request to unlock.
"""
"""Process a request to unlock."""
fridge_candidates = request.auth.application.fridges.all()

if fridge_candidates.count() == 0:
Expand Down

0 comments on commit d1c9362

Please sign in to comment.