maybe fix this?
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s
This commit is contained in:
parent
d372c41c98
commit
b1f5db9b2d
@ -82,7 +82,7 @@ public class NameHistoryProfile extends Serializable {
|
||||
@Override
|
||||
public void load(Document document, Gson gson) {
|
||||
this.nameHistory = new LinkedList<>();
|
||||
for (Document trackedNameDocument : document.getList("nameHistory", Document.class)) {
|
||||
for (Document trackedNameDocument : document.getList("nameHistory", Document.class, new ArrayList<>())) {
|
||||
TrackedName trackedName = new TrackedName();
|
||||
trackedName.load(trackedNameDocument, gson);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user