👽 Update stickers api call
This commit is contained in:
@@ -106,11 +106,7 @@ class StickerPacksNotifier extends _$StickerPacksNotifier
|
|||||||
try {
|
try {
|
||||||
final response = await client.get(
|
final response = await client.get(
|
||||||
'/sphere/stickers',
|
'/sphere/stickers',
|
||||||
queryParameters: {
|
queryParameters: {'offset': offset, 'take': _pageSize, 'pub': pubName},
|
||||||
'offset': offset,
|
|
||||||
'take': _pageSize,
|
|
||||||
'pubName': pubName,
|
|
||||||
},
|
|
||||||
);
|
);
|
||||||
|
|
||||||
final total = int.parse(response.headers.value('X-Total') ?? '0');
|
final total = int.parse(response.headers.value('X-Total') ?? '0');
|
||||||
|
Reference in New Issue
Block a user