From 537c137b9449d5b29d8d3aa49a024147517824fb Mon Sep 17 00:00:00 2001 From: moshyfawn Date: Wed, 14 Jan 2026 12:26:35 -0500 Subject: [PATCH] fix: match count value --- utils/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/api.ts b/utils/api.ts index 2b941f9..4fc0419 100644 --- a/utils/api.ts +++ b/utils/api.ts @@ -12,6 +12,6 @@ export const fetchNotificationCount = async (): Promise => { // FIX: requires backend to return 401 when not logged in (currently returns 200 even if not logged in) if (!response.ok) throw new Error(`HTTP ${response.status}`); const html = await response.text(); - const match = html.match(/(\d+)/); + const match = html.match(/>(\d+\+?)