We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdcf394 commit 515009bCopy full SHA for 515009b
backend/PyMatcha/routes/api/profile/view.py
@@ -39,7 +39,7 @@ def view_profile(uid):
39
raise NotFoundError(f"User {uid} not found.")
40
41
if current_user.id == u.id:
42
- raise BadRequestError("Cannot view yoursel")
+ raise BadRequestError("Cannot view yourself.")
43
View.create(profile_id=u.id, viewer_id=current_user.id)
44
45
user_dict = u.to_dict()
0 commit comments