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 {
|
if (!newSession) return {
|
||||||
status: "error",
|
status: "error",
|
||||||
error: {
|
error: {
|
||||||
code: "error.api.generic"
|
code: "error.api.unreachable"
|
||||||
}
|
}
|
||||||
} as CobaltErrorResponse
|
} as CobaltErrorResponse
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue