Doppia modalità di Registrazione con lista extra utenti
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = {
|
||||
try {
|
||||
if (tablename === 'users') {
|
||||
// Delete also all the subscribers record of this User
|
||||
return Subscription.remove({ userId: rec._id })
|
||||
return Subscription.deleteOne({ userId: rec._id })
|
||||
}
|
||||
} catch (e) {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user