Commit 6feb9f36 authored by Anon's avatar Anon
Browse files

Use string template for URL.

parent 757410b6
...@@ -36,7 +36,7 @@ class HatcheryClient { ...@@ -36,7 +36,7 @@ class HatcheryClient {
fun getAppList(): List<App> { fun getAppList(): List<App> {
val client = OkHttpClient() val client = OkHttpClient()
val request = Request.Builder() val request = Request.Builder()
.url(HATCHERY_BASE_URL + "/eggs/list/json") .url("$HATCHERY_BASE_URL/eggs/list/json")
.build() .build()
val response: Response val response: Response
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment