mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 09:58:27 +00:00
web/session: update session fetch error code
This commit is contained in:
parent
c0284fac13
commit
0d58fad580
@ -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 New Issue
Block a user