mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
fix: #9950, rename account export routes to remove uid/ prefix
This commit is contained in:
@@ -140,7 +140,7 @@ module.exports = function (SocketUser) {
|
||||
const userData = await user.getUserFields(data.uid, ['username', 'userslug']);
|
||||
const n = await notifications.create({
|
||||
bodyShort: `[[notifications:${type}-exported, ${userData.username}]]`,
|
||||
path: `/api/user/uid/${userData.userslug}/export/${type}`,
|
||||
path: `/api/user/${userData.userslug}/export/${type}`,
|
||||
nid: `${type}:export:${data.uid}`,
|
||||
from: data.uid,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user