mirror of
https://github.com/wassname/talk.git
synced 2026-08-02 13:10:23 +08:00
fixes for cli
This commit is contained in:
@@ -89,6 +89,10 @@ function createUser(options) {
|
||||
.then(() => {
|
||||
console.log(`Added the admin ${result.role.trim()} to User ${user.id}.`);
|
||||
util.shutdown();
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
util.shutdown();
|
||||
});
|
||||
} else {
|
||||
util.shutdown();
|
||||
|
||||
Reference in New Issue
Block a user