From a7012e31aa49c4e005c504c6192fc1714377f0aa Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 19 Nov 2019 18:26:13 -0500 Subject: [PATCH] why r u awaiting a constructor --- src/class/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/Util.ts b/src/class/Util.ts index 2197a92..fc525f2 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -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();