src/backend/lib/request/index.ts
Function requestHandler
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async (req: NextApiRequest, res: NextApiResponse) => {
const before = μs.now();
return await requestHook(req, async () => {
const validationsToRun = (validations || []).filter((validation) => {