1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

refactor(api): relocate /docker API endpoint under /endpoints (#1053)

This commit is contained in:
Anthony Lapenna 2017-07-20 16:22:27 +02:00 committed by GitHub
parent 53583741ba
commit 02203e7ce5
29 changed files with 70 additions and 70 deletions

View file

@ -1,7 +1,7 @@
angular.module('portainer.rest')
.factory('Auth', ['$resource', 'AUTH_ENDPOINT', function AuthFactory($resource, AUTH_ENDPOINT) {
.factory('Auth', ['$resource', 'API_ENDPOINT_AUTH', function AuthFactory($resource, API_ENDPOINT_AUTH) {
'use strict';
return $resource(AUTH_ENDPOINT, {}, {
return $resource(API_ENDPOINT_AUTH, {}, {
login: {
method: 'POST'
}