Add support to list galleries with sort

This commit is contained in:
2023-09-08 22:09:41 +08:00
parent f6956e0989
commit de18ca304c
6 changed files with 91 additions and 8 deletions

View File

@@ -530,6 +530,7 @@ class __EHApi implements _EHApi {
bool? all,
int? offset,
int? limit,
bool? sortByGid,
CancelToken? cancel,
}) async {
const _extra = <String, dynamic>{};
@@ -537,6 +538,7 @@ class __EHApi implements _EHApi {
r'all': all,
r'offset': offset,
r'limit': limit,
r'sort_by_gid': sortByGid,
};
queryParameters.removeWhere((k, v) => v == null);
final _headers = <String, dynamic>{};