Browse Source

Merge pull request #6907 from thingsboard/fix_big_savedUser_error

[3.4] Fix big saved user error
pull/6913/head
Andrew Shvayka 4 years ago
committed by GitHub
parent
commit
ad4b870945
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      application/src/main/java/org/thingsboard/server/service/entitiy/user/DefaultUserService.java

2
application/src/main/java/org/thingsboard/server/service/entitiy/user/DefaultUserService.java

@ -72,7 +72,7 @@ public class DefaultUserService extends AbstractTbEntityService implements TbUse
savedUser, user, actionType, true, null);
return savedUser;
} catch (Exception e) {
notificationEntityService.logEntityAction(tenantId, emptyId(EntityType.USER), user, actionType, user, e);
notificationEntityService.logEntityAction(tenantId, emptyId(EntityType.USER), tbUser, actionType, user, e);
throw e;
}
}

Loading…
Cancel
Save