Guest User

Untitled

a guest
Jan 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. const requestToGetCoins = await() => {
  2. return (dispatch) => {
  3. dispatch(requestToGetUserSettingsInProgress());
  4. try{
  5. const users = async httpService.getUserSettings();
  6. dispatch(requestToGetUserSettingsSuccess(users));
  7. }
  8. catch(e){
  9. dispatch(requestToGetUserSettingsError(e));
  10. }
  11. };
Add Comment
Please, Sign In to add comment