mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 04:57:23 +00:00
fix bookmark
This commit is contained in:
@@ -223,7 +223,7 @@ class Network {
|
||||
Future<Res<List<Illust>>> getBookmarkedIllusts(String restrict,
|
||||
[String? nextUrl]) async {
|
||||
var res = await apiGet(nextUrl ??
|
||||
"/v1/user/bookmarks/illust?user_id=49258688&restrict=$restrict");
|
||||
"/v1/user/bookmarks/illust?user_id=${appdata.account?.user.id}&restrict=$restrict");
|
||||
if (res.success) {
|
||||
return Res(
|
||||
(res.data["illusts"] as List).map((e) => Illust.fromJson(e)).toList(),
|
||||
|
Reference in New Issue
Block a user