mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: user_import: fix
This commit is contained in:
1 parent
9a67e81b10
commit
97efa45647
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "2.29.32",
|
"version": "2.29.33",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "dist/loader.js",
|
"main": "dist/loader.js",
|
||||||
"typings": "dist/loader.d.ts",
|
"typings": "dist/loader.d.ts",
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ class SystemUserImportHandler extends SystemHandler {
|
|||||||
|
|
||||||
@param('users', Types.Content)
|
@param('users', Types.Content)
|
||||||
@param('draft', Types.Boolean)
|
@param('draft', Types.Boolean)
|
||||||
async post(domainId: string, _users: string, draft = true) {
|
async post(domainId: string, _users: string, draft: boolean) {
|
||||||
const users = _users.split('\n');
|
const users = _users.split('\n');
|
||||||
const udocs = [];
|
const udocs = [];
|
||||||
const messages = [];
|
const messages = [];
|
||||||
|
|||||||
Reference in new issue
Block a user