order moch catalog ascending

This commit is contained in:
TheBeastLT
2022-03-15 14:53:14 +01:00
parent a5ff0edc23
commit 7b38ba179d
4 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ async function getItemMeta(itemId, apiKey, ip) {
.map((file, index) => ({
id: `${KEY}:${torrent.id}:${index}`,
title: file.name,
released: new Date(torrent.created * 1000 - index).toISOString(),
released: new Date(torrent.created * 1000 + index).toISOString(),
streams: [{ url: file.downloadUrl }]
}))
}))