Skip to content

Commit

Permalink
Added some functions regarding matching. User cannot try to match twice
Browse files Browse the repository at this point in the history
  • Loading branch information
FarmerJohnsBessie committed Jul 6, 2024
1 parent 1895da1 commit 874fda5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,5 @@ def view_profile(request, user_id):
return Response({'error': 'User not found'}, status=404)
serializer = ProfileSerializer(user.profile)
return Response(serializer.data)


0 comments on commit 874fda5

Please sign in to comment.