Skip to content

Commit

Permalink
Add permissions back
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Aug 25, 2022
1 parent 5ee389b commit a1144e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions care/facility/api/viewsets/icd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response
from rest_framework.viewsets import ViewSet

Expand All @@ -12,8 +13,7 @@ def serailize_data(icd11_object):


class ICDViewSet(ViewSet):
# permission_classes = (IsAuthenticated,)
permission_classes = ()
permission_classes = (IsAuthenticated,)

def list(self, request):
from care.facility.static_data.icd11 import ICDDiseases
Expand Down

0 comments on commit a1144e1

Please sign in to comment.