refactor: remove extra zset remove, closes #10277

isekai-main
Barış Soner Uşaklı 3 years ago
parent 2d125ecdbb
commit 489c0d3015

@ -22,7 +22,6 @@ module.exports = function (User) {
User.delete = async (callerUid, uid) => { User.delete = async (callerUid, uid) => {
await User.deleteContent(callerUid, uid); await User.deleteContent(callerUid, uid);
await removeFromSortedSets(uid);
return await User.deleteAccount(uid); return await User.deleteAccount(uid);
}; };

Loading…
Cancel
Save