aboutsummaryrefslogtreecommitdiff
path: root/cashier
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-09-03 14:44:11 -0300
committerTorsten Grote <t@grobox.de>2020-09-03 14:44:11 -0300
commiteb204737cc5ea66b351dbd8652ca766cdb4671e2 (patch)
tree8c5d684fc68122af0659ff4e3a3e362a1214f30b /cashier
parente92fb0d6d4f20c0109638a695f30bd8737686d7b (diff)
downloadtaler-android-eb204737cc5ea66b351dbd8652ca766cdb4671e2.tar.gz
taler-android-eb204737cc5ea66b351dbd8652ca766cdb4671e2.tar.bz2
taler-android-eb204737cc5ea66b351dbd8652ca766cdb4671e2.zip
[cashier] fix incomplete API change from 4572a3d5f
Diffstat (limited to 'cashier')
-rw-r--r--cashier/src/main/java/net/taler/cashier/config/ConfigManager.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cashier/src/main/java/net/taler/cashier/config/ConfigManager.kt b/cashier/src/main/java/net/taler/cashier/config/ConfigManager.kt
index f83c7ba..fa4e1d5 100644
--- a/cashier/src/main/java/net/taler/cashier/config/ConfigManager.kt
+++ b/cashier/src/main/java/net/taler/cashier/config/ConfigManager.kt
@@ -124,7 +124,7 @@ class ConfigManager(
// we need to check an endpoint that requires authentication as well
// to see if the credentials are valid
val balanceResponse = response {
- val authUrl = "${config.bankUrl}/accounts/${config.username}/balance"
+ val authUrl = "${config.bankUrl}/accounts/${config.username}"
Log.d(TAG, "Checking auth: $authUrl")
httpClient.get<Unit>(authUrl) {
header(Authorization, config.basicAuth)