small bug fix or whatevs

master
Matthew 2021-10-11 15:30:50 -04:00
parent bd988cac11
commit 56f7cd50a0
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ export default async function calculateScore(client: Client): Promise<NodeJS.Tim
if (member.roles.includes('446104438969466890') || member.roles.includes('701481967149121627')) staff = 20; if (member.roles.includes('446104438969466890') || member.roles.includes('701481967149121627')) staff = 20;
const response = await CloudServicesUtil.fetchAccountStatus(member.user.id, client.config.internalKey); const response = await CloudServicesUtil.fetchAccountStatus(member.user.id, client.config.internalKey);
if (response || response.found === true) { if (response || response?.found === true) {
let negatives = 0; let negatives = 0;
let positives = 0; let positives = 0;
if (response.createdAt) { if (response.createdAt) {