pass is admin through create user
This commit is contained in:
parent
0e86af3e81
commit
4157710187
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ class CreateUser
|
|||
|
||||
$this->userRepo->create(new CreateUserDto(
|
||||
email: new EmailAddress($dto->email),
|
||||
isAdmin: $dto->isAdmin,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue