mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
fix: remove useless get
This commit is contained in:
parent
0fc5adc197
commit
0581cedfb0
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ constructor(
|
|||
@BaseUrl private val url: String,
|
||||
) {
|
||||
suspend fun extractToken(): String? {
|
||||
val request = Request.Builder().url(url).get().build()
|
||||
val request = Request.Builder().url(url).build()
|
||||
return withContext(dispatcher) {
|
||||
okHttpClient.newCall(request).execute().use { response ->
|
||||
val doc = Jsoup.parse(response.body?.string() ?: return@use null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue