From 1bc7f54a7d879da12a14f1b2d70a82cfbbb987e8 Mon Sep 17 00:00:00 2001 From: Benny <66417262+ThisIsBenny@users.noreply.github.com> Date: Mon, 29 Mar 2021 13:11:23 +0200 Subject: [PATCH] Update VodafoneDE.js --- VodafoneDE/VodafoneDE.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/VodafoneDE/VodafoneDE.js b/VodafoneDE/VodafoneDE.js index d8204b4..1f5c9ee 100644 --- a/VodafoneDE/VodafoneDE.js +++ b/VodafoneDE/VodafoneDE.js @@ -3,9 +3,11 @@ // icon-color: red; icon-glyph: broadcast-tower; /************** -Version 2.2.1 +Version 2.2.2 -Changelog: +Changelog: + v2.2.1: + - fix const variable issue v2.2.1: - fix empty string mapping issue - fix prepaid progressbar issue @@ -527,7 +529,7 @@ async function getUsage(user, pass, number) { console.log(JSON.stringify(res['serviceUsageVBO']['usageAccounts'][0], null, 2)) } const marketCode = res['serviceUsageVBO']['usageAccounts'][0]['details']['marketCode'] - const billDate = res['serviceUsageVBO']['usageAccounts'][0]['details']['billDate'] + let billDate = res['serviceUsageVBO']['usageAccounts'][0]['details']['billDate'] const amount = res['serviceUsageVBO']['usageAccounts'][0]['details']['amount'] let usage = []