convert price_in_unit to price_in_cents
GitOrigin-RevId: bae030e9c90f8286d6e6550744849984fe81f63d
This commit is contained in:
@@ -23,7 +23,9 @@ async function getRecurlyGroupPrices() {
|
||||
prices[usage] = prices[usage] || {}
|
||||
prices[usage][type] = prices[usage][type] || {}
|
||||
prices[usage][type][currency] = prices[usage][type][currency] || {}
|
||||
prices[usage][type][currency][size] = { price_in_unit: unitAmount }
|
||||
prices[usage][type][currency][size] = {
|
||||
price_in_cents: unitAmount * 100,
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user