Skip to content

Commit

Permalink
change summaries into status
Browse files Browse the repository at this point in the history
  • Loading branch information
HavierD committed May 21, 2024
1 parent 2638080 commit 1e63524
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ default <F extends StacCollectionModel> Collection getCollection(F m, String hos
.collect(Collectors.toList()));
}

if (m.getSummaries() != null) {
collection.setSummaries(m.getSummaries());
if (m.getSummaries() != null && m.getSummaries().getStatus() != null) {
collection.setStatus(m.getSummaries().getStatus());
}

return collection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
@Getter
public class ExtendedCollection extends Collection {

private SummariesModel summaries;
private String status;

}

0 comments on commit 1e63524

Please sign in to comment.