mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 13:15:05 +00:00
Fix .then() must return
This commit is contained in:
@@ -237,7 +237,8 @@ exports.deleteUser = (req, res) => {
|
||||
.then((query) => {
|
||||
query.forEach((snap) => {
|
||||
snap.ref.delete();
|
||||
})
|
||||
});
|
||||
return;
|
||||
})
|
||||
|
||||
let promises = [
|
||||
|
||||
Reference in New Issue
Block a user