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

View File

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