harbor/static/ng/resources/js/services/project/services.stat-project.js

23 lines
434 B
JavaScript
Raw Normal View History

(function() {
'use strict';
angular
.module('harbor.services.project')
.factory('StatProjectService', StatProjectService);
StatProjectService.$inject = ['$http', '$log'];
function StatProjectService($http, $log) {
return StatProject;
function StatProject() {
$log.info('statistics projects and repositories');
return $http
.get('/api/statistics');
}
}
})();