diff --git a/src/api/comm.libraryofcode.org/routes/report.ts b/src/api/comm.libraryofcode.org/routes/report.ts index a2f0b30..961ad73 100644 --- a/src/api/comm.libraryofcode.org/routes/report.ts +++ b/src/api/comm.libraryofcode.org/routes/report.ts @@ -4,7 +4,7 @@ import jwt from 'jsonwebtoken'; import { TextChannel } from 'eris'; import { ScoreHistorical } from 'cr-db/mongodb'; import { LocalStorage, Route, Server } from '../../../class'; -import { getTotalMessageCount } from '../../../intervals/score'; +import { getTotalMessageCount } from '../../../functions/calculateReport'; export default class Report extends Route { public timeout: Map; @@ -595,7 +595,7 @@ export default class Report extends Route { const args = []; args.push(offer.userID, 'hard'); `${offer.department}:${offer.name}`.split(' ').forEach((item) => args.push(item)); - await this.server.client.commands.get('score').run(message, args); + // await this.server.client.commands.get('score').run(message, args); await this.acceptedOffers.set(req.query.code.toString(), true); return res.sendStatus(200); } catch (err) {