Skip to content

Commit 46fdd48

Browse files
v1.2.1
2 parents bc86e9e + 6b08974 commit 46fdd48

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.2.1] - 2024-06-24
6+
7+
### Fixed
8+
9+
- Handle `isRead` parameter correctly in notifications bulk update
10+
511
## [1.2.0] - 2024-06-24
612

713
### Changed

src/api/notificationsBulkUpdates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const notificationsBulkUpdates = (
2424
if (category)
2525
path = `${path}?category=${category}`;
2626

27-
if (isRead)
27+
if (isRead !== undefined)
2828
path = path.includes('?') ? `${path}&isRead=${isRead}` : `${path}?isRead=${isRead}`;
2929

3030
const resp: Promise<ActionResponse> = httpPost(

0 commit comments

Comments
 (0)