diff --git a/packages/hydrooj/src/handler/misc.ts b/packages/hydrooj/src/handler/misc.ts index 2344d7577..cf70a90d7 100644 --- a/packages/hydrooj/src/handler/misc.ts +++ b/packages/hydrooj/src/handler/misc.ts @@ -1,7 +1,6 @@ /* eslint-disable camelcase */ import { statSync } from 'fs'; import { pick } from 'lodash'; -import { lookup } from 'mime-types'; import { BadRequestError, ForbiddenError, ValidationError, } from '../error'; diff --git a/packages/hydrooj/src/handler/problem.ts b/packages/hydrooj/src/handler/problem.ts index 53cfe2e9c..f28aeaa75 100644 --- a/packages/hydrooj/src/handler/problem.ts +++ b/packages/hydrooj/src/handler/problem.ts @@ -1,7 +1,6 @@ import AdmZip from 'adm-zip'; import { statSync } from 'fs-extra'; import { flatten, intersection, isSafeInteger } from 'lodash'; -import { lookup } from 'mime-types'; import { FilterQuery, ObjectID } from 'mongodb'; import { sortFiles } from '@hydrooj/utils/lib/utils'; import {