mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-21 07:41:58 +00:00
adjusted fetch tracking data
This commit is contained in:
parent
5fce50f0e0
commit
304f653011
2 changed files with 3 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ class Anilist extends _$Anilist {
|
|||
'''
|
||||
query(\$id: Int!) {
|
||||
Page {
|
||||
mediaList(userId: \$id, type: $type, status: CURRENT) {
|
||||
mediaList(userId: \$id, type: $type, status: CURRENT, sort: UPDATED_TIME_DESC) {
|
||||
id
|
||||
status
|
||||
scoreRaw: score(format: POINT_100)
|
||||
|
|
|
|||
|
|
@ -202,8 +202,10 @@ class MyAnimeList extends _$MyAnimeList {
|
|||
final accessToken = await _getAccessToken();
|
||||
final item = isManga ? "mangalist" : "animelist";
|
||||
final contentUnit = isManga ? "num_chapters" : "num_episodes";
|
||||
final currentStatus = isManga ? "reading" : "watching";
|
||||
final url = Uri.parse('$baseApiUrl/users/@me/$item').replace(
|
||||
queryParameters: {
|
||||
'status': currentStatus,
|
||||
'sort': 'list_updated_at',
|
||||
'limit': '1000',
|
||||
'fields':
|
||||
|
|
|
|||
Loading…
Reference in a new issue