mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-21 23:47:17 +03:00
console: handle access key error code (#66)
This commit is contained in:
parent
5a512481f9
commit
b0e3cbdd6a
@ -58,7 +58,7 @@ const requestAction = (
|
||||
statusCode: response.status,
|
||||
});
|
||||
}
|
||||
if (response.status === 401) {
|
||||
if (msg.code && msg.code === 'access-denied') {
|
||||
dispatch({
|
||||
type: UPDATE_DATA_HEADERS,
|
||||
data: {
|
||||
|
Loading…
Reference in New Issue
Block a user