function commits(beginDate, endDate, collectorItemIds) {
            // make sure it's an array
            collectorItemIds = [].concat(collectorItemIds);

            // add our begin and end date
            var params = {
                beginDate: beginDate,
                endDate: endDate,
                collectorItemId: collectorItemIds
            };

            return $http.get(HygieiaConfig.local ? localRoute : pipelineRoute, { params: params })
                .then(function (response) {
                    return response.data;
                });
        }
// can pass a single collector item id or an array
can pass a single collector item id or an array
can pass a single collector item id or an array
function commits(beginDate, endDate, collectorItemIds) {
            collectorItemIds = [].concat(collectorItemIds);
            var params = {
                beginDate: beginDate,
                endDate: endDate,
                collectorItemId: collectorItemIds
            };
            return $http.get(HygieiaConfig.local ? localRoute : pipelineRoute, { params: params })
                .then(function (response) {
                    return response.data;
                });
        }
function commits ( beginDate , endDate , collectorItemIds ) { collectorItemIds = [ ] . concat ( collectorItemIds ) ; var params = { beginDate : beginDate , endDate : endDate , collectorItemId : collectorItemIds } ; return $http . get ( HygieiaConfig . local ? localRoute : pipelineRoute , { params : params } ) . then ( function ( response ) { return response . data ; } ) ; }
can pass a single collector item id or an array
can pass a single collector item id or an array
// make sure it's an array // add our begin and end date