Update Galleries

This commit is contained in:
2023-09-15 15:39:01 +08:00
parent 932c56a377
commit dae5e13bd8
6 changed files with 42 additions and 7 deletions

View File

@@ -150,6 +150,8 @@ abstract class _EHApi {
@Query("offset") int? offset,
@Query("limit") int? limit,
@Query("sort_by_gid") bool? sortByGid,
@Query("uploader") String? uploader,
@Query("tag") String? tag,
@CancelRequest() CancelToken? cancel});
@GET('/tag/{id}')

View File

@@ -531,6 +531,8 @@ class __EHApi implements _EHApi {
int? offset,
int? limit,
bool? sortByGid,
String? uploader,
String? tag,
CancelToken? cancel,
}) async {
const _extra = <String, dynamic>{};
@@ -539,6 +541,8 @@ class __EHApi implements _EHApi {
r'offset': offset,
r'limit': limit,
r'sort_by_gid': sortByGid,
r'uploader': uploader,
r'tag': tag,
};
queryParameters.removeWhere((k, v) => v == null);
final _headers = <String, dynamic>{};