Revert "order moch catalog ascending"

This reverts commit 7b38ba179d.
This commit is contained in:
TheBeastLT
2022-05-24 08:45:35 +02:00
parent c3df6a3f70
commit 8199b50021
4 changed files with 4 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ async function getItemMeta(itemId, apiKey, ip) {
.map((file, index) => ({
id: `${KEY}:${torrent.id}:${file.id}`,
title: file.path,
released: new Date(new Date(torrent.added).getTime() + index).toISOString(),
released: new Date(new Date(torrent.added).getTime() - index).toISOString(),
streams: [{ url: `${apiKey}/${torrent.hash.toLowerCase()}/null/${file.id - 1}` }]
}))
}))