mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
auth
This commit is contained in:
parent
56d714d655
commit
e0bba90d2e
12 changed files with 264 additions and 89 deletions
|
@ -38,9 +38,9 @@ export const errorMiddleware = <T extends any>(debug): IResultWithStatus<T> =>
|
|||
? debug.response
|
||||
: {
|
||||
status: HTTP_RESPONSES.CONNECTION_REFUSED,
|
||||
data: null,
|
||||
data: {},
|
||||
debug,
|
||||
error: 'Network_Disconnected',
|
||||
error: 'Ошибка сети',
|
||||
};
|
||||
|
||||
export const configWithToken = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue