qol updates for comm.* api endpoint

ctx
Matthew 2023-02-11 23:51:27 -05:00
parent 2c80c3b542
commit dbfc374e46
1 changed files with 2 additions and 2 deletions

View File

@ -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<string, number>;
@ -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) {