aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-rw-r--r--app/scripts/lib/config-manager.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js
index cd0d37e98..03f8c054d 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -288,7 +288,7 @@ ConfigManager.prototype.setConversionRate = function () {
.then(function (response) {
const parsedResponse = JSON.parse(response)
data.conversionRate = Number(parsedResponse.ticker.price)
- data.conversionLastUpdated = new Date(parsedResponse.timestamp).toString()
+ data.conversionDate = new Date(parsedResponse.timestamp).toString()
this.setData(data)
}.bind(this)).catch(function (err) {
console.log('Error in conversion.', err)
@@ -300,7 +300,7 @@ ConfigManager.prototype.getConversionRate = function () {
return ('conversionRate' in data) && data.conversionRate
}
-ConfigManager.prototype.getConversionLastUpdated = function () {
+ConfigManager.prototype.getConversionDate = function () {
var data = this.getData()
- return ('conversionLastUpdated' in data) && data.conversionLastUpdated
+ return ('conversionDate' in data) && data.conversionDate
}