diff --git a/packages/hydrooj/src/handler/problem.ts b/packages/hydrooj/src/handler/problem.ts index 7763b7291..4e91669bf 100644 --- a/packages/hydrooj/src/handler/problem.ts +++ b/packages/hydrooj/src/handler/problem.ts @@ -1,5 +1,5 @@ import { isSafeInteger, flatten } from 'lodash'; -import yaml, { safeLoad } from 'js-yaml'; +import yaml from 'js-yaml'; import { ObjectID } from 'mongodb'; import { NoProblemError, ProblemDataNotFoundError, BadRequestError,