Skip to content

Commit 55812e5

Browse files
committed
smallFix
1 parent 379111a commit 55812e5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/io/autoinvestor/application/UpdateUserUseCase/UpdateUserCommandHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public void handle (UpdateUserCommand command) {
3737

3838
UserDTO dto = new UserDTO(
3939
user.getState().userId().value(),
40-
command.getState().userEmail().value,
41-
command.getState().firstName().value,
42-
command.getState().lastName().value,
40+
user.getState().userEmail().value(),
41+
user.getState().firstName().value(),
42+
user.getState().lastName().value(),
4343
command.riskLevel()
4444
);
4545
this.readModel.update(dto);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package io.autoinvestor.ui;
22

33
public record UpdateUserDTO(
4-
String riskLevel
4+
int riskLevel
55
) {}

0 commit comments

Comments
 (0)