fix: media list desc

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-27 15:10:44 +08:00
parent 0e8502b087
commit fedb67c809
3 changed files with 19 additions and 6 deletions

View File

@@ -517,6 +517,7 @@ class UserHttp {
int? otype,
bool withCurrent = false,
bool desc = true,
int sortField = 1,
}) async {
var res = await Request().get(
Api.mediaList,
@@ -529,7 +530,7 @@ class UserHttp {
'ps': ps,
'direction': false,
'desc': desc,
'sort_field': 1,
'sort_field': sortField,
'tid': 0,
'with_current': withCurrent,
},