Skip to content

Commit

Permalink
fix: 중복 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ybkang1108 committed Aug 15, 2024
1 parent dc1e614 commit fa70314
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions friends/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ def friend_restaurant_list(request, pk):
check_evaluation.is_evaluated = True
check_evaluation.save()

check_evaluation = Friend.objects.get(user=request.user, friend=friend)
check_evaluation.is_evaluated = True
check_evaluation.save()

return Response(
{
"message": "Friend evaluated successfully",
Expand Down

0 comments on commit fa70314

Please sign in to comment.