mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-19 23:32:05 +02:00
fix: #8918
This commit is contained in:
@@ -37,6 +37,7 @@ SocketUser.exists = async function (socket, data) {
|
||||
|
||||
SocketUser.deleteAccount = async function (socket, data) {
|
||||
sockets.warnDeprecated(socket, 'DELETE /api/v3/users/:uid/account');
|
||||
data.uid = socket.uid;
|
||||
await api.users.deleteAccount(socket, data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user