Skip to content

Commit 43a5e8e

Browse files
committed
fix: Disable MAL's custom user-agent
1 parent 33d7c3c commit 43a5e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListInterceptor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class MyAnimeListInterceptor(private val myanimelist: MyAnimeList) : Interceptor
3434
// Add the authorization header to the original request
3535
val authRequest = originalRequest.newBuilder()
3636
.addHeader("Authorization", "Bearer ${oauth!!.accessToken}")
37-
.header("User-Agent", "null2264/yokai/${BuildConfig.VERSION_NAME} (${BuildConfig.APPLICATION_ID})")
37+
// .header("User-Agent", "null2264/yokai/${BuildConfig.VERSION_NAME} (${BuildConfig.APPLICATION_ID})")
3838
.build()
3939

4040
return chain.proceed(authRequest)

0 commit comments

Comments
 (0)