return only streams property for moch meta

This commit is contained in:
TheBeastLT
2022-03-09 15:54:39 +01:00
parent 5100751c19
commit 29b232318e
5 changed files with 9 additions and 10 deletions

View File

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