mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 02:58:05 +01:00
23 lines
434 B
JavaScript
23 lines
434 B
JavaScript
(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');
|
|
}
|
|
|
|
}
|
|
|
|
})(); |