mirror of
https://github.com/imputnet/cobalt.git
synced 2026-01-02 13:01:14 +00:00
web/api: re-request session if server claims it's invalid
This commit is contained in:
@@ -62,3 +62,5 @@ export const getSession = async () => {
|
||||
}
|
||||
return newSession;
|
||||
}
|
||||
|
||||
export const resetSession = () => cache = undefined;
|
||||
|
||||
Reference in New Issue
Block a user