Default price to 0
This commit is contained in:
parent
d7f0954c51
commit
c1791f8520
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue