dist/vuex-c3s.es.js
function deleteProject(_ref9, _ref10) {
    var state = _ref9.state,
        commit = _ref9.commit,
        rootState = _ref9.rootState;

    var _ref11 = _slicedToArray(_ref10, 2),
        pid = _ref11[0],
        localRemove = _ref11[1];

    if (localRemove) commit('c3s/project/SET_PROJECT', null);
    return makeRequest(commit, rootState.c3s.client.apis.Projects.delete_project, {
      id: pid
    }, undefined);
  }
function deleteProject(_ref9, _ref10) {
    var state = _ref9.state,
        commit = _ref9.commit,
        rootState = _ref9.rootState;

    var _ref11 = _slicedToArray(_ref10, 2),
        pid = _ref11[0],
        localRemove = _ref11[1];

    if (localRemove) commit('c3s/project/SET_PROJECT', null);
    return makeRequest(commit, rootState.c3s.client.apis.Projects.delete_project, {
      id: pid
    }, undefined);
  }
function deleteProject ( _ref9 , _ref10 ) { var state = _ref9 . state , commit = _ref9 . commit , rootState = _ref9 . rootState ; var _ref11 = _slicedToArray ( _ref10 , 2 ) , pid = _ref11 [ 0 ] , localRemove = _ref11 [ 1 ] ; if ( localRemove ) commit ( 'c3s/project/SET_PROJECT' , null ) ; return makeRequest ( commit , rootState . c3s . client . apis . Projects . delete_project , { id : pid } , undefined ) ; }
Delete a project matching the supplied ID
@param state
@param commit
@param rootState
@param pid
@param localRemove
@returns {Promise<*|boolean|void>}
Delete a project matching the supplied ID