Add todo to use catch syntax
This commit is contained in:
@@ -689,5 +689,6 @@ mongoose.model('User')
|
||||
// Using push to maintain the reference to mods
|
||||
mods.push(...foundMods);
|
||||
}, (err) => {
|
||||
// @TODO convert this to a catch
|
||||
throw err; // TODO ?
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user