ownership
This commit is contained in:
parent
72fb6fbc20
commit
e2b46becf0
13 changed files with 79 additions and 13 deletions
|
@ -4,6 +4,7 @@ export interface CreateUserCommand {
|
|||
firstname: string;
|
||||
lastname: string;
|
||||
secret: string;
|
||||
isOwner: boolean;
|
||||
}
|
||||
|
||||
export interface UpdateUserCommand {
|
||||
|
|
|
@ -22,6 +22,7 @@ export default abstract class UserCommandHandler {
|
|||
firstname: createUser.firstname,
|
||||
lastname: createUser.lastname,
|
||||
secret: createUser.secret,
|
||||
isOwner: createUser.isOwner,
|
||||
})
|
||||
.execute()
|
||||
.then((result) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue