core: user_import: fix

This commit is contained in:
undefined committed 2021-07-21 16:08:34 +08:00
1 parent 9a67e81b10
commit 97efa45647
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 = [];