dashboard of Bytom
Revision | 10b79e98344d4e98b1f10592eb3647cb1fc77cc9 (tree) |
---|---|
Time | 2019-07-17 17:25:33 |
Author | Zhiting Lin <zlin035@uott...> |
Commiter | Zhiting Lin |
update the assecees token error message display.
@@ -46,6 +46,8 @@ export default { | ||
46 | 46 | ]).then(result => { |
47 | 47 | const grants = result[0].data |
48 | 48 | return dispatch({ type: 'RECEIVED_ACCESS_GRANTS', grants, tokens }) |
49 | + }).catch(err =>{ | |
50 | + return dispatch({type: 'ERROR', payload: err}) | |
49 | 51 | }) |
50 | 52 | } |
51 | 53 | }, |