v1.18.x
Julian Lam 5 years ago
parent 036e6ef51b
commit 942cc4b132

@ -122,7 +122,7 @@ User.forcePasswordReset = async function (socket, uids) {
User.deleteUsers = async function (socket, uids) { User.deleteUsers = async function (socket, uids) {
deleteUsers(socket, uids, async function (uid) { deleteUsers(socket, uids, async function (uid) {
await user.deleteAccount(uid); return await user.deleteAccount(uid);
}); });
}; };
@ -142,7 +142,7 @@ User.deleteUsersContent = async function (socket, uids) {
User.deleteUsersAndContent = async function (socket, uids) { User.deleteUsersAndContent = async function (socket, uids) {
deleteUsers(socket, uids, async function (uid) { deleteUsers(socket, uids, async function (uid) {
await user.delete(socket.uid, uid); return await user.delete(socket.uid, uid);
}); });
}; };

Loading…
Cancel
Save