1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-29 18:04:15 +02:00
2014-09-30 00:43:50 -07:00

13 lines
281 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('/api/remotes');
};
this.getLogins = function() {
return $http.get('/api/logins');
};
}]);