Sfoglia il codice sorgente

mark getTemplateAppOrSelf as transient and json-ignored

tags/v1.5.4
Jonathan Cobb 4 anni fa
parent
commit
ca1ba3a510
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bubble-server/src/main/java/bubble/model/app/BubbleApp.java

+ 1
- 1
bubble-server/src/main/java/bubble/model/app/BubbleApp.java Vedi File

@@ -120,7 +120,7 @@ public class BubbleApp extends IdentifiableBaseParentEntity implements AccountTe
@Getter @Setter private String templateApp;
public boolean hasTemplateApp() { return !empty(templateApp); }

public String getTemplateAppOrSelf() {
@JsonIgnore @Transient public String getTemplateAppOrSelf() {
return hasTemplateApp() ? templateApp : template() ? getUuid() : null;
}



Caricamento…
Annulla
Salva