Skip to content

Commit 89abdc1

Browse files
authored
Merge: RentalHistoryStatusSerializer에서 반납일, 대여일 내려주도록 수정
[hotfix/inspection] RentalHistoryStatusSerializer에서 반납일, 대여일 내려주도록 수정
2 parents 7a671df + c302640 commit 89abdc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/product/serializers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,4 @@ def to_representation(self, instance: RentalHistory) -> dict[str, Any]:
188188
class RentalHistoryStatusSerializer(serializers.ModelSerializer[RentalHistory]):
189189
class Meta:
190190
model = RentalHistory
191-
fields = ("id", "status")
191+
fields = ("id", "status", "rental_date", "return_date")

0 commit comments

Comments
 (0)