Skip to content

Commit

Permalink
Fix: ChatDetailView.get 메서드 스키마 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Meoyoug committed May 30, 2024
1 parent 9d7231c commit 5205415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/chat/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
check_entered_chatroom,
delete_chatroom,
)
from apps.product.serializers import RentalHistorySerializer, RentalHistoryStatusSerializer
from apps.user.api_schema import UserInfoSerializer


Expand Down Expand Up @@ -85,6 +86,7 @@ class ChatDetailView(APIView):
"product_rental_fee": serializer.CharField(),
"product_condition": serializer.CharField(),
"messages": serializers.MessageSerializer(many=True),
"rental_history": RentalHistoryStatusSerializer()
},
),
description="""
Expand Down

0 comments on commit 5205415

Please sign in to comment.