mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
dep: fix import
This commit is contained in:
1 parent
b0aa983e6f
commit
9645c6a11f
4 files changed
+8
-7
No files matched your search
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user