Browse Source
Merge pull request #15291 from dashevchenko/shortCustomerInfoFix
Fixed json property name for ShortCustomerInfo.publicCustomer
pull/15309/head
Viacheslav Klimov
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
common/data/src/main/java/org/thingsboard/server/common/data/ShortCustomerInfo.java
|
|
|
@ -40,14 +40,14 @@ public class ShortCustomerInfo { |
|
|
|
@NoXss |
|
|
|
private String title; |
|
|
|
|
|
|
|
@JsonProperty("isPublic") |
|
|
|
@JsonProperty("public") |
|
|
|
@Schema(description = "Indicates special 'Public' customer used to embed dashboards on public websites.") |
|
|
|
private boolean publicCustomer; |
|
|
|
|
|
|
|
@JsonProperty("isPublic") |
|
|
|
@JsonProperty("public") |
|
|
|
public boolean isPublic() { return publicCustomer; } |
|
|
|
|
|
|
|
@JsonProperty("isPublic") |
|
|
|
@JsonProperty("public") |
|
|
|
public void setPublic(boolean publicCustomer) { this.publicCustomer = publicCustomer; } |
|
|
|
|
|
|
|
@Override |
|
|
|
|