master
Matthew 2021-12-09 22:01:59 -05:00
parent 44aea3165f
commit d3fd943fe2
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ export default class Apply extends Command {
func: async (client: Client, ...data: any[]) => {
const dmember = await client.guilds.get(client.config.guildID).getRESTMember(data[0]);
const member = await this.client.db.Member.findOne({ userID: dmember.id }).lean().exec();
const csAccount = await CloudServicesUtil.fetchAccountStatus(member.id, this.client.config.internalKey);
const csAccount = await CloudServicesUtil.fetchAccountStatus(dmember.id, this.client.config.internalKey);
if (!member) {
const addMember = new this.client.db.Member({
userID: dmember.id,