From d7318c0f22ef1be1c2df3bb4be673cc0e49477d3 Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 9 Oct 2025 13:40:54 +0000 Subject: [PATCH] fix: Remove unsupported offset parameter from notifications API call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed from offset=0 to includeRead=false to match backend API parameters. Backend only supports: limit, status, includeRead 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- maternal-web/hooks/useNotifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maternal-web/hooks/useNotifications.ts b/maternal-web/hooks/useNotifications.ts index 2591ec1..0ade9e1 100644 --- a/maternal-web/hooks/useNotifications.ts +++ b/maternal-web/hooks/useNotifications.ts @@ -41,7 +41,7 @@ export function useNotifications(options?: { setError(null); const response = await notificationsApi.getNotifications({ limit, - offset: 0, + includeRead: false, // Only fetch unread notifications }); setNotifications(response.notifications);