From df7e0d2f2f23c49289b00bab5ac65d222092dbf8 Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 4 Jan 2021 15:15:55 -0500 Subject: [PATCH] Surface "NSFW" (includes things like ecchi) results in MAL search (closes #4249) --- .../eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt index 47991a8c4..db821f0e3 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt @@ -63,6 +63,7 @@ class MyAnimeListApi(private val client: OkHttpClient, interceptor: MyAnimeListI return withContext(Dispatchers.IO) { val url = "$baseApiUrl/manga".toUri().buildUpon() .appendQueryParameter("q", query) + .appendQueryParameter("nsfw", "true") .build() authClient.newCall(GET(url.toString())) .await()