Skip to content

Commit

Permalink
Merge pull request #101 from jiyoon607/jjy_sms
Browse files Browse the repository at this point in the history
🐛 Fix: now-waiting에 취소외 3가지 상태 응답
  • Loading branch information
jiyoon607 authored Oct 6, 2024
2 parents 59c7ac9 + 9ba33c7 commit 0150b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waiting/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ def confirm_waiting(self, request, pk=None):
@action(detail=False, methods=['get'], url_path='now-waitings')
def waiting_list(self, request):
user = request.user
queryset = Waiting.objects.filter(user=user, waiting_status='waiting')
queryset = Waiting.objects.filter(user=user, waiting_status__in=['waiting','ready_to_confirm','confirmed'])
serializer = self.get_serializer(queryset, many=True)
return custom_response(data=serializer.data, message="My now waiting list fetched successfully.", code=status.HTTP_200_OK)

0 comments on commit 0150b71

Please sign in to comment.