Skip to content

Commit

Permalink
Fixed more whitespace. All stylizing
Browse files Browse the repository at this point in the history
  • Loading branch information
nruia-penn committed Oct 25, 2024
1 parent ff8a3c7 commit 617e23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/courses/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def post(self, request):
res["message"] = "User not found"
return Response(res, status=status.HTTP_404_NOT_FOUND)

recipient = get_object_or_404(User, username = username.lower())
recipient = get_object_or_404(User, username=username.lower())

existing_friendship = (
self.get_all_friendships().filter(Q(recipient=recipient) | Q(sender=recipient)).first()
Expand Down

0 comments on commit 617e23f

Please sign in to comment.