web/session: update session fetch error code
This commit is contained in:
parent
c0284fac13
commit
0d58fad580
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ export const getSession = async () => {
|
|||
if (!newSession) return {
|
||||
status: "error",
|
||||
error: {
|
||||
code: "error.api.generic"
|
||||
code: "error.api.unreachable"
|
||||
}
|
||||
} as CobaltErrorResponse
|
||||
|
||||
|
|
Loading…
Reference in a new issue