fix(llc): fix client.markAllRead api request
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
## 3.2.1
|
||||
|
||||
🐞 Fixed
|
||||
|
||||
- Fixed `StreamChatClient.markAllRead` api call
|
||||
|
||||
## 3.2.0
|
||||
|
||||
🐞 Fixed
|
||||
|
||||
@@ -84,7 +84,10 @@ class ChannelApi {
|
||||
|
||||
/// Mark all channels for this user as read
|
||||
Future<EmptyResponse> markAllRead() async {
|
||||
final response = await _client.post('/channels/read');
|
||||
final response = await _client.post(
|
||||
'/channels/read',
|
||||
data: {},
|
||||
);
|
||||
return EmptyResponse.fromJson(response.data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user