fix: 500 when loggin in

This commit is contained in:
Constantin Simonis 2025-02-19 11:59:36 +01:00
parent 5afdbad461
commit a091387c1c
No known key found for this signature in database
GPG key ID: 758DD9C506603183
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ public class UserMappingService {
}
public UserEntity mapToUserEntity(CreateUserDto createUserDto) {
return new UserEntity(createUserDto.getUsername(), createUserDto.getKeycloakId(), 0);
return new UserEntity(createUserDto.getKeycloakId(), createUserDto.getUsername(), 0);
}
}