Skip to content

Commit

Permalink
missed change on last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonf committed Oct 29, 2024
1 parent 396e4c0 commit 79de764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lab/gateway/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from rest_framework.exceptions import APIException
from rest_framework.response import Response

from experiments.serializers import AppointmentSerializer
from experiments.serializers import ParentAppointmentSerializer
from participants.models import Language
from participants.serializers import LanguageSerializer
from signups.models import Signup
Expand Down Expand Up @@ -53,7 +53,7 @@ def get(self, request, *args, **kwargs):

class AppointmentViewSet(viewsets.ModelViewSet):
permission_classes = [HasParticipant, SignedSource]
serializer_class = AppointmentSerializer
serializer_class = ParentAppointmentSerializer

def get_queryset(self):
return self.request.participant.appointments.all()
Expand Down

0 comments on commit 79de764

Please sign in to comment.