Resolve TODO

This commit is contained in:
Hugh Nimmo-Smith 2022-10-17 10:54:28 +01:00
parent d979b50b2c
commit ed6bc01bef
1 changed files with 1 additions and 2 deletions

View File

@ -64,8 +64,7 @@ class SimpleHttpRendezvousTransport(override var onCancelled: ((reason: Rendezvo
}
val method = if (uri != null) "PUT" else "POST"
// TODO: properly determine endpoint
val uri = if (uri != null) uri!! else "https://rendezvous.lab.element.dev"
val uri = this.uri ?: throw RuntimeException("No rendezvous URI")
val httpClient = okhttp3.OkHttpClient.Builder().build()