mirror of
https://github.com/mihonapp/mihon.git
synced 2025-03-29 09:09:01 +03:00
Surface "NSFW" (includes things like ecchi) results in MAL search (closes #4249)
This commit is contained in:
parent
5cfda1b1bf
commit
df7e0d2f2f
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class MyAnimeListApi(private val client: OkHttpClient, interceptor: MyAnimeListI
|
||||||
return withContext(Dispatchers.IO) {
|
return withContext(Dispatchers.IO) {
|
||||||
val url = "$baseApiUrl/manga".toUri().buildUpon()
|
val url = "$baseApiUrl/manga".toUri().buildUpon()
|
||||||
.appendQueryParameter("q", query)
|
.appendQueryParameter("q", query)
|
||||||
|
.appendQueryParameter("nsfw", "true")
|
||||||
.build()
|
.build()
|
||||||
authClient.newCall(GET(url.toString()))
|
authClient.newCall(GET(url.toString()))
|
||||||
.await()
|
.await()
|
||||||
|
|
Loading…
Add table
Reference in a new issue