From e81980bd6bbf014d16aa892edbdb7dfe8d57c498 Mon Sep 17 00:00:00 2001 From: Shim Kyumin Date: Tue, 13 Aug 2024 20:05:39 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B9=9C=EA=B5=AC=20=EB=A7=9B=EC=A7=91?= =?UTF-8?q?=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=ED=8F=89=EA=B7=A0=20=ED=8F=89?= =?UTF-8?q?=EC=A0=90=20str=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- friends/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/friends/serializers.py b/friends/serializers.py index fe03628..b4ce31f 100644 --- a/friends/serializers.py +++ b/friends/serializers.py @@ -131,7 +131,7 @@ class Meta: ] def get_rating_average(self, obj): - return obj.rating_average() + return str(obj.rating_average()) def get_image_url(self, obj): if obj.image_url: # image_url이 null이 아닌 경우에만 처리