1
0
Fork 0

fix tier issue

refactor/models
Matthew 2020-07-07 05:38:08 -04:00
parent b78b1a2e38
commit 3a0305b6ec
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export default class CSCLI {
case 'ramlimit':
const account = await this.client.db.Account.findOne({ username: parsed.Username }).lean().exec();
const tier = await this.client.db.Tier.findOne({ id: account.tier }).lean().exec();
socket.write(`${tier.resourceLimits.ram}`);
socket.write(`${tier.resourceLimits.ram}\n`);
socket.destroy();
break;
default: