commit eb204737cc5ea66b351dbd8652ca766cdb4671e2
parent e92fb0d6d4f20c0109638a695f30bd8737686d7b
Author: Torsten Grote <t@grobox.de>
Date: Thu, 3 Sep 2020 14:44:11 -0300
[cashier] fix incomplete API change from 4572a3d5f
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)