fix interval
parent
eb0af1c182
commit
cc61972929
|
@ -156,7 +156,7 @@ export default async function calculateScore(client: Client): Promise<NodeJS.Tim
|
|||
else cloudServices = Math.floor(positives * 0.61);
|
||||
}
|
||||
|
||||
const inquiries = await client.db.Inquiry.find({ userID: member.user.id }).lean().exec();
|
||||
const inquiries = await client.db.Inquiry.find({ userID: member.user.id, type: 0 }).lean().exec();
|
||||
|
||||
if (inquiries?.length > 0) {
|
||||
for (const inq of inquiries) {
|
||||
|
|
Loading…
Reference in New Issue