From cf405b1892dc89c74d21b97776937b830b5ef4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 16 Sep 2024 19:41:01 -0400 Subject: [PATCH] refactor: change the path of follow notif to go to the user --- src/api/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/users.js b/src/api/users.js index c4f4add772..3897613342 100644 --- a/src/api/users.js +++ b/src/api/users.js @@ -188,7 +188,7 @@ usersAPI.follow = async function (caller, data) { bodyShort: `[[notifications:user-started-following-you, ${displayname}]]`, nid: `follow:${data.uid}:uid:${caller.uid}`, from: caller.uid, - path: `/uid/${data.uid}/followers`, + path: `/uid/${caller.uid}`, mergeId: 'notifications:user-started-following-you', }); if (!notifObj) {