storj/web
Khushal Shah 4535da96ee
web/multinode: removed conversion for Expectations (#4216)
What: 
Removed the `convertToCents` methods from the `Expectation` class, since the expectations were already in cents.

Why:
Fixes https://github.com/storj/storj/issues/4202
The `/expectations` endpoint already returns the amounts for `currentMonthEstimation` and `undistributed` in cents. So there is no need to convert them again to cents before the dollar conversion.

This change removes the `convertToCents` from the `Expectation` class.
2021-10-14 12:12:24 +00:00
..
multinode web/multinode: removed conversion for Expectations (#4216) 2021-10-14 12:12:24 +00:00
satellite web: optimize builds 2021-10-12 11:29:37 +00:00
storagenode web: optimize builds 2021-10-12 11:29:37 +00:00