mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 08:00:17 +08:00
Fix lint
This commit is contained in:
+6
-1
@@ -290,7 +290,12 @@ async function createUser() {
|
||||
const ctx = Context.forSystem();
|
||||
|
||||
// Create the user.
|
||||
const user = await UsersService.createLocalUser(ctx, email, password, username);
|
||||
const user = await UsersService.createLocalUser(
|
||||
ctx,
|
||||
email,
|
||||
password,
|
||||
username
|
||||
);
|
||||
|
||||
// Set the role.
|
||||
await UsersService.setRole(user.id, role);
|
||||
|
||||
Reference in New Issue
Block a user