Skip to content

Commit

Permalink
Ignore 'defaultUserSettings' field in serialization of application se…
Browse files Browse the repository at this point in the history
…ttings, so the mobile version will work just fine
  • Loading branch information
vitalidze committed Jun 4, 2016
1 parent ae3dc79 commit 2b7ffd8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public void setAllowCommandsOnlyForAdmins(boolean allowCommandsOnlyForAdmins) {
@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinColumn(foreignKey = @ForeignKey(name = "appsettings_fkey_usersettings_id"))
@GwtTransient
@JsonIgnore
private UserSettings userSettings;

public UserSettings getUserSettings() {
Expand Down

0 comments on commit 2b7ffd8

Please sign in to comment.