mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17: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
@@ -191,7 +191,7 @@ class SystemUserImportHandler extends SystemHandler {
|
||||
|
||||
@param('users', Types.Content)
|
||||
@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 udocs = [];
|
||||
const messages = [];
|
||||
|
||||
Reference in new issue
Block a user