mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
Fix cb
This commit is contained in:
parent
098c24e48a
commit
6d2c095976
1 changed files with 3 additions and 1 deletions
|
@ -473,7 +473,9 @@ module.exports = class User {
|
|||
return this.removeProperty(name, next);
|
||||
},
|
||||
err => {
|
||||
return cb(err);
|
||||
if(cb) {
|
||||
return cb(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue