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
2 parents e0384b3 + fbc98d5 commit 84ec196
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions friends/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ 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 84ec196

Please sign in to comment.