client/src/actions/userActions.js
author ymh <ymh.work@gmail.com>
Mon, 19 Jun 2017 17:56:43 +0200
changeset 55 a2761c5be551
parent 53 d8588379529e
child 72 7634b424f426
permissions -rw-r--r--
put APIClient in context

import * as types from '../constants/actionTypes';

export const updateSettings = (username, firstname, lastname) => {
  return {
    type: types.USER_UPDATE_SETTINGS_ASYNC,
    username,
    firstname,
    lastname
  };
}