Resolve TODO
This commit is contained in:
parent
d979b50b2c
commit
ed6bc01bef
|
@ -64,8 +64,7 @@ class SimpleHttpRendezvousTransport(override var onCancelled: ((reason: Rendezvo
|
||||||
}
|
}
|
||||||
|
|
||||||
val method = if (uri != null) "PUT" else "POST"
|
val method = if (uri != null) "PUT" else "POST"
|
||||||
// TODO: properly determine endpoint
|
val uri = this.uri ?: throw RuntimeException("No rendezvous URI")
|
||||||
val uri = if (uri != null) uri!! else "https://rendezvous.lab.element.dev"
|
|
||||||
|
|
||||||
val httpClient = okhttp3.OkHttpClient.Builder().build()
|
val httpClient = okhttp3.OkHttpClient.Builder().build()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue