web/session: update session fetch error code

This commit is contained in:
wukko 2024-08-24 16:16:12 +06:00
parent c0284fac13
commit 0d58fad580
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -54,7 +54,7 @@ export const getSession = async () => {
if (!newSession) return { if (!newSession) return {
status: "error", status: "error",
error: { error: {
code: "error.api.generic" code: "error.api.unreachable"
} }
} as CobaltErrorResponse } as CobaltErrorResponse