console: handle access key error code (#66)

This commit is contained in:
Praveen Durairaj 2018-07-09 20:52:44 +05:30 committed by Rishichandra Wawhal
parent 5a512481f9
commit b0e3cbdd6a

View File

@ -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: {