parent
35e71289dc
commit
d53bef385a
|
@ -6,11 +6,12 @@
|
|||
|
||||
(defn collectible-balance
|
||||
[collectible]
|
||||
(-> collectible
|
||||
(let [balance (-> collectible
|
||||
:ownership
|
||||
first
|
||||
:balance
|
||||
js/parseInt))
|
||||
js/parseInt)]
|
||||
(if (js/Number.isNaN balance) 0 balance)))
|
||||
|
||||
(def supported-collectible-types
|
||||
#{"image/jpeg"
|
||||
|
|
Loading…
Reference in New Issue