diff --git a/app/application/services/rating_service.py b/app/application/services/rating_service.py index d4fc766..20586b4 100644 --- a/app/application/services/rating_service.py +++ b/app/application/services/rating_service.py @@ -58,6 +58,6 @@ def remove_comment(self, rating_id: int): # Remove the comment but keep the score rating.comment = None - self.repository.update(rating) + self.repository.update(rating_id, rating) return rating