Cover includes on user follows
This commit is contained in:
parent
f0329cfafa
commit
6f93fdd089
@ -17,6 +17,7 @@ import exh.md.dto.ReadingStatusMapDto
|
|||||||
import exh.md.dto.RefreshTokenDto
|
import exh.md.dto.RefreshTokenDto
|
||||||
import exh.md.dto.ResultDto
|
import exh.md.dto.ResultDto
|
||||||
import exh.md.utils.MdApi
|
import exh.md.utils.MdApi
|
||||||
|
import exh.md.utils.MdConstants
|
||||||
import exh.md.utils.MdUtil
|
import exh.md.utils.MdUtil
|
||||||
import okhttp3.CacheControl
|
import okhttp3.CacheControl
|
||||||
import okhttp3.Headers
|
import okhttp3.Headers
|
||||||
@ -76,11 +77,10 @@ class MangaDexAuthService(
|
|||||||
).await().parseAs(MdUtil.jsonParser)
|
).await().parseAs(MdUtil.jsonParser)
|
||||||
}
|
}
|
||||||
|
|
||||||
// &includes[]=${MdConstants.Type.coverArt}
|
|
||||||
suspend fun userFollowList(offset: Int): MangaListDto {
|
suspend fun userFollowList(offset: Int): MangaListDto {
|
||||||
return client.newCall(
|
return client.newCall(
|
||||||
GET(
|
GET(
|
||||||
"${MdApi.userFollows}?limit=100&offset=$offset",
|
"${MdApi.userFollows}?limit=100&offset=$offset&includes[]=${MdConstants.Types.coverArt}",
|
||||||
getHeaders(),
|
getHeaders(),
|
||||||
CacheControl.FORCE_NETWORK
|
CacheControl.FORCE_NETWORK
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user