1
0
Fork 0

default to -50

refactor/models
Matthew 2020-05-03 19:00:36 -04:00
parent caf27269a9
commit eabea72f09
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ export default class Util {
const tier = await this.client.db.Tier.findOne({ id: 1 });
const account = new this.client.db.Account({
username, userID, emailAddress, createdBy: moderatorID, ramLimitNotification: tier.resourceLimits.ram - 20, createdAt: new Date(), locked: false, tier: 1, supportKey: code, ssInit: false, homepath: `/home/${username}`,
username, userID, emailAddress, createdBy: moderatorID, ramLimitNotification: tier.resourceLimits.ram - 50, createdAt: new Date(), locked: false, tier: 1, supportKey: code, ssInit: false, homepath: `/home/${username}`,
});
return account.save();
}