Skip to content

Commit

Permalink
Merge pull request #244 from entur/fix-missing-mapping
Browse files Browse the repository at this point in the history
fix: last_updated and ttl lost in internal discovery url rewrite method
  • Loading branch information
testower authored Sep 9, 2023
2 parents 7d13782 + 3b831b4 commit d510604
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ private Object getFeed(String systemId, String feed) {

private GBFS modifyDiscoveryUrls(FeedProvider feedProvider, GBFS data) {
var gbfs = new GBFS();
gbfs.setLastUpdated(data.getLastUpdated());
gbfs.setTtl(data.getTtl());
gbfs.setFeedsData(
data
.getFeedsData()
Expand Down

0 comments on commit d510604

Please sign in to comment.