Add/store channel archive metadata document #8

Merged
raucao merged 3 commits from feature/7-archive_metadata into master 2021-11-13 20:56:18 +00:00
Showing only changes of commit f83ef92adc - Show all commits

View File

@ -18,7 +18,7 @@ function lowestNumberInListing(items) {
const sortedNumbers = Object.keys(items)
.map(i => parseInt(i))
.filter(i => !Number.isNaN(i))
.sort(function(a, b) { return a - b });
.sort();

.sort() is enough, as it's the default sort order.

`.sort()` is enough, as it's the default sort order.
return sortedNumbers[0];
}