fix middlewares

This commit is contained in:
Shane C 2024-08-27 12:13:00 -04:00
parent 14c30beb49
commit 7ea961e135
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -4,7 +4,6 @@ import { Request, Response } from 'express';
import { botReq } from './internal/ws'; import { botReq } from './internal/ws';
import { Collection, Db } from 'mongodb'; import { Collection, Db } from 'mongodb';
import { badRequest, isAuthenticated, requireAuth } from '../utils'; import { badRequest, isAuthenticated, requireAuth } from '../utils';
import { RateLimiter } from '../middlewares/ratelimit';
let pendingLoginsCollection: Collection; let pendingLoginsCollection: Collection;
let sessionsCollection: Collection; let sessionsCollection: Collection;