From 0d58fad580e2fd624a878cc8c847aca703483445 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 24 Aug 2024 16:16:12 +0600 Subject: [PATCH] web/session: update session fetch error code --- web/src/lib/api/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/api/session.ts b/web/src/lib/api/session.ts index 77e99284..c6413fae 100644 --- a/web/src/lib/api/session.ts +++ b/web/src/lib/api/session.ts @@ -54,7 +54,7 @@ export const getSession = async () => { if (!newSession) return { status: "error", error: { - code: "error.api.generic" + code: "error.api.unreachable" } } as CobaltErrorResponse