1
0
Fork 0

why r u awaiting a constructor

refactor/models
Matthew 2019-11-19 18:26:13 -05:00
parent fe1e48cdb0
commit a7012e31aa
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ export default class Util {
await this.exec(`useradd -m -p ${hash} -c ${etcPasswd} -s /bin/bash ${username}`);
await this.exec(`chage -d0 ${username}`);
const account = await new this.client.db.Account({
const account = new this.client.db.Account({
username, userID, emailAddress, createdBy: moderatorID, createdAt: new Date(), locked: false, ssInit: false,
});
return account.save();