Skip to content

Commit 3acc8a0

Browse files
committed
fix: correctly handle parameter in notifications bulk update
1 parent f8b208f commit 3acc8a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines 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)