We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a1fdcc commit 0fe529eCopy full SHA for 0fe529e
backend/PyMatcha/routes/api/profile/view.py
@@ -48,9 +48,9 @@ def view_profile(uid):
48
49
Notification.create(
50
user_id=u.id,
51
- content=f"{u.first_name} just viewed your profile! Go check their profile out!",
+ content=f"{current_user.first_name} just viewed your profile! Go check their profile out!",
52
type="view",
53
- link_to=f"users/{u.id}",
+ link_to=f"users/{current_user.id}",
54
)
55
56
return SuccessOutput("profile", user_dict)
0 commit comments