Skip to content

Commit

Permalink
🐛 fix: null pointer exception on update user (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aravind-Kannan authored Oct 16, 2023
1 parent 278bc05 commit 64dfae2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ class UsersServiceImpl : KoinComponent, UsersService {
?: throw EntityNotFoundException("User not found")

val userStatus = status?.toUserStatus()
if (userRecord.loginAccess == true) {
if (userRecord.loginAccess == true && org.metadata != null) {
val identityGroup = gson.fromJson(org.metadata.data(), IdentityGroup::class.java)

identityProvider.updateUser(
Expand Down

0 comments on commit 64dfae2

Please sign in to comment.