Skip to content

Commit

Permalink
fix(Organization): fix json deserialization when org contains project
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed Mar 15, 2017
1 parent 38c2a3d commit cba77a0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.conveyal.datatools.manager.persistence.DataStore;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonView;

import java.io.Serializable;
Expand All @@ -15,6 +16,7 @@
/**
* Created by landon on 1/30/17.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Organization extends Model implements Serializable {
private static final long serialVersionUID = 1L;
private static DataStore<Organization> organizationStore = new DataStore<>("organizations");
Expand Down

0 comments on commit cba77a0

Please sign in to comment.