mirror of https://github.com/portainer/portainer
9 lines
292 B
JavaScript
9 lines
292 B
JavaScript
angular.module('portainer.rest')
|
|
.factory('DockerHub', ['$resource', 'API_ENDPOINT_DOCKERHUB', function DockerHubFactory($resource, API_ENDPOINT_DOCKERHUB) {
|
|
'use strict';
|
|
return $resource(API_ENDPOINT_DOCKERHUB, {}, {
|
|
get: { method: 'GET' },
|
|
update: { method: 'PUT' }
|
|
});
|
|
}]);
|