This commit is contained in:
Barış Soner Uşaklı
2020-11-25 14:33:19 -05:00
parent 3af4d13fa5
commit e32cd31ec6
3 changed files with 27 additions and 15 deletions

View File

@@ -82,15 +82,15 @@ usersAPI.update = async function (caller, data) {
};
usersAPI.delete = async function (caller, { uid, password }) {
processDeletion({ uid: uid, method: 'delete', password, caller });
await processDeletion({ uid: uid, method: 'delete', password, caller });
};
usersAPI.deleteContent = async function (caller, { uid, password }) {
processDeletion({ uid, method: 'deleteContent', password, caller });
await processDeletion({ uid, method: 'deleteContent', password, caller });
};
usersAPI.deleteAccount = async function (caller, { uid, password }) {
processDeletion({ uid, method: 'deleteAccount', password, caller });
await processDeletion({ uid, method: 'deleteAccount', password, caller });
};
usersAPI.deleteMany = async function (caller, data) {