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

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