This commit is contained in:
Nikhil Nawgiri 2024-10-26 19:02:57 +02:00
parent f4425c941f
commit 47ccc86b75

View file

@ -14,14 +14,14 @@ const run = async () => {
TotalRecordCount: totalItemCount
}: JellyfinApiResponse = await fetchFromJellyfinApi();
const transformedItems = transformItems(items);
console.log("transformedItems:", transformedItems);
console.log("totalItemCount:", totalItemCount);
saveJsonToDisk({ totalItemCount, jellyfinItems: transformedItems });
saveJsonToDisk({ totalItemCount, items: transformedItems });
// save as something else than json lol
// update db file
// express API
// GET endpoint
// POST endpoint
}
run();