code: function deleteActivity(_ref10, _ref11) {
      var state = _ref10.state,
          commit = _ref10.commit,
          rootState = _ref10.rootState;
  
      var _ref12 = _slicedToArray(_ref11, 2),
          pid = _ref12[0],
          localRemove = _ref12[1];
  
      if (localRemove) commit('c3s/activity/SET_ACTIVITY', null);
      return makeRequest(commit, rootState.c3s.client.apis.Activities.delete_activity, {
        id: pid
      }, undefined);
    }
docs: Delete an activity matching the supplied ID
  @param state
  @param commit
  @param rootState
  @param pid
  @param localRemove
  @returns {Promise<*|boolean|void>}