Skip to content

Commit

Permalink
fix: 친구 맛집 리스트 평균 평점 str로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxyDimension committed Aug 13, 2024
1 parent b4ee8bb commit e81980b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion friends/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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이 아닌 경우에만 처리
Expand Down

0 comments on commit e81980b

Please sign in to comment.