dep: fix import

This commit is contained in:
undefined committed 2020-12-05 23:48:49 +08:00
1 parent b0aa983e6f
commit 9645c6a11f
4 files changed
+8 -7

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/migrate-hustoj",
"version": "0.0.1",
"version": "0.0.2",
"main": "package.json",
"repository": "git@github.com:hydro-dev/Hydro.git",
"author": "undefined <masnn0@outlook.com>",
@@ -13,9 +13,9 @@
"@types/mysql": "^2.15.15"
},
"peerDependencies": {
"hydrooj": "^2.13.5"
"hydrooj": "^2.14.0"
},
"dependencies": {
"mysql": "^2.18.1"
}
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable no-await-in-loop */
import mysql from 'mysql';
import 'hydrooj';
import { buildContent } from 'hydrooj/dist/utils';
import { buildContent } from 'hydrooj/dist/lib/content';
const {
user, problem, builtin: { PRIV },