Skip to content

Commit

Permalink
fix most recent FIMOCT finding, "published" no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
IGNFBourcier committed Sep 12, 2024
1 parent 63c0eba commit dc87968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/download-fimoct.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function isFIMOCTArchive(resource) {
}

function getMostRecent(resources) {
return last(sortBy(resources, resource => new Date(resource.published)))
return last(sortBy(resources, resource => new Date(resource.last_modified)))
}

async function getLatestFIMOCTArchiveURL() {
Expand Down

0 comments on commit dc87968

Please sign in to comment.