Skip to content

Commit 9121b8c

Browse files
committed
Fixed IOT-1421, error when updating KOMBIT users email
1 parent 0f9e783 commit 9121b8c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/services/user-management/user.service.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,7 @@ export class UserService {
219219
if (user.nameId != null) {
220220
if (dto.name && user.name != dto.name) {
221221
throw new BadRequestException(ErrorCodes.CannotModifyOnKombitUser);
222-
}
223-
if (dto.email) {
224-
throw new BadRequestException(ErrorCodes.CannotModifyOnKombitUser);
225-
}
222+
}
226223
if (dto.password) {
227224
throw new BadRequestException(ErrorCodes.CannotModifyOnKombitUser);
228225
}

0 commit comments

Comments
 (0)