dist/vuex-c3s.es.js
function createActivity(_ref9, activity) {
    var state = _ref9.state,
        commit = _ref9.commit,
        rootState = _ref9.rootState;
    return makeRequest(commit, rootState.c3s.client.apis.Activities.create_activity, {
      activity: activity
    }, 'c3s/activity/SET_ACTIVITY');
  }
function createActivity(_ref9, activity) {
    var state = _ref9.state,
        commit = _ref9.commit,
        rootState = _ref9.rootState;
    return makeRequest(commit, rootState.c3s.client.apis.Activities.create_activity, {
      activity: activity
    }, 'c3s/activity/SET_ACTIVITY');
  }
function createActivity ( _ref9 , activity ) { var state = _ref9 . state , commit = _ref9 . commit , rootState = _ref9 . rootState ; return makeRequest ( commit , rootState . c3s . client . apis . Activities . create_activity , { activity : activity } , 'c3s/activity/SET_ACTIVITY' ) ; }
Create an activity
@param state
@param commit
@param rootState
@param activity
@returns {Promise<*|boolean|void>}
Create an activity