order moch catalog ascending
This commit is contained in:
@@ -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}` }]
|
||||
}))
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user