diff --git a/routes/load-collection.js b/routes/load-collection.js index 7cd04d7..941cbc7 100644 --- a/routes/load-collection.js +++ b/routes/load-collection.js @@ -57,6 +57,7 @@ async function loadCollection(inputUsername) { preparedItem.run({ account, ...item, + price: item.price || 0, purchased: new Date(item.purchased).getTime(), added: new Date(item.added).getTime(), updated: new Date(item.updated).getTime()