Fix Sponge persisted subject parent serialisation

This commit is contained in:
Luck 2018-03-18 11:41:13 +00:00
parent 8c1c5c820c
commit 926195efc4
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -252,7 +252,7 @@ public class SubjectDataContainer {
for (LPSubjectReference ref : e.getValue()) { for (LPSubjectReference ref : e.getValue()) {
JsonObject parent = new JsonObject(); JsonObject parent = new JsonObject();
parent.addProperty("collection", ref.getCollectionIdentifier()); parent.addProperty("collection", ref.getCollectionIdentifier());
parent.addProperty("subject", ref.getCollectionIdentifier()); parent.addProperty("subject", ref.getSubjectIdentifier());
data.add(parent); data.add(parent);
} }
section.add("data", data); section.add("data", data);