1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-23 17:53:23 +02:00
2014-07-12 19:01:58 -07:00

13 lines
279 B
JavaScript

'use strict';
// Service facilitates interaction with the remote API.
angular.module('app').service('remotes', ['$http', function($http) {
this.get = function() {
return $http.get('/v1/remotes');
};
this.getLogins = function() {
return $http.get('/v1/logins');
};
}]);