Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Oct 17, 2024
1 parent 17c7ec2 commit 75bfaca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions care/security/controllers/facility.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ def can_read_facility(self, user, facility_id):
raise PermissionDeniedError
return True, True


def allowed_facilities(self , user):
def allowed_facilities(self, user):
return Facility.objects.filter(users__id__exact=user.id)

0 comments on commit 75bfaca

Please sign in to comment.