Skip to content

Commit

Permalink
Merge pull request #10 from MohamedHamed12/filter
Browse files Browse the repository at this point in the history
fix doctor filter class
  • Loading branch information
MohamedHamed12 authored May 9, 2024
2 parents f518c43 + 8a4b05d commit b81176c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/accounts/views/doctor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DoctorViewSet(viewsets.ModelViewSet):
rest_filters.SearchFilter,
rest_filters.OrderingFilter,
]
filterset_class = PatientFilter
filterset_class = DoctorFilter


def create(self , request, *args, **kwargs):
Expand Down

0 comments on commit b81176c

Please # to comment.