Browse Source
Merge pull request #13123 from dashevchenko/userNameFix
EDQS: fixed name retrieval for user
pull/13138/head
Viacheslav Klimov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/UserFields.java
|
|
|
@ -35,6 +35,11 @@ public class UserFields extends AbstractEntityFields { |
|
|
|
private String phone; |
|
|
|
private String additionalInfo; |
|
|
|
|
|
|
|
@Override |
|
|
|
public String getName() { |
|
|
|
return super.getEmail(); |
|
|
|
} |
|
|
|
|
|
|
|
public UserFields(UUID id, long createdTime, UUID tenantId, UUID customerId, |
|
|
|
Long version, String firstName, String lastName, String email, |
|
|
|
String phone, JsonNode additionalInfo) { |
|
|
|
|