diff options
Diffstat (limited to 'merchant-lib')
-rw-r--r-- | merchant-lib/src/main/java/net/taler/merchantlib/Config.kt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/merchant-lib/src/main/java/net/taler/merchantlib/Config.kt b/merchant-lib/src/main/java/net/taler/merchantlib/Config.kt index eb09485..572ab3d 100644 --- a/merchant-lib/src/main/java/net/taler/merchantlib/Config.kt +++ b/merchant-lib/src/main/java/net/taler/merchantlib/Config.kt @@ -38,15 +38,12 @@ data class ConfigResponse( data class MerchantConfig( @SerialName("base_url") val baseUrl: String, - // TODO remove instance when it is part of baseURL - val instance: String? = null, @SerialName("api_key") val apiKey: String ) { fun urlFor(endpoint: String): String { val sb = StringBuilder(baseUrl) if (sb.last() != '/') sb.append('/') - instance?.let { sb.append("instances/$it/") } sb.append(endpoint) return sb.toString() } |