mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Readded permission class
This commit is contained in:
parent
a285d9ebb0
commit
4c3b8763a8
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class StudentStatusAPIView(generics.RetrieveUpdateAPIView):
|
|||
|
||||
class ActiveStudentStatusListAPIView(generics.ListAPIView):
|
||||
serializer_class = StudentStatusSerializer
|
||||
# permission_classes = [IsAuthenticated]
|
||||
permission_classes = [IsAuthenticated]
|
||||
|
||||
def get_queryset(self):
|
||||
user = self.request.user
|
||||
|
|
Loading…
Reference in a new issue