mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
More deleted user robustness
This commit is contained in:
parent
ee56ff02e1
commit
213f63ae12
2 changed files with 22 additions and 14 deletions
|
@ -489,8 +489,8 @@ module.exports = class User {
|
|||
return cb(err);
|
||||
}
|
||||
properties[row.prop_name] = row.prop_value;
|
||||
}, () => {
|
||||
return cb(null, properties);
|
||||
}, (err) => {
|
||||
return cb(err, err ? null : properties);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue