From 4e8d58341b7ce6a438370312a9f9e96770e63587 Mon Sep 17 00:00:00 2001 From: jiyoon607 <6judy611@gmail.com> Date: Mon, 7 Oct 2024 08:06:04 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20now-waiting=EC=97=90=20?= =?UTF-8?q?=EC=B7=A8=EC=86=8C=EC=99=B8=203=EA=B0=80=EC=A7=80=20=EC=83=81?= =?UTF-8?q?=ED=83=9C=20=EC=9D=91=EB=8B=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- waiting/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waiting/views.py b/waiting/views.py index 61a7397..ccbdde0 100644 --- a/waiting/views.py +++ b/waiting/views.py @@ -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) \ No newline at end of file