mirror of https://github.com/portainer/portainer
refactor(oauth): move oauth rest service to extension
parent
7aaa9e58e9
commit
15b6941872
|
@ -1 +1,3 @@
|
||||||
angular.module('portainer.extensions.oauth', []);
|
angular.module('portainer.extensions.oauth', [
|
||||||
|
'ngResource'
|
||||||
|
]);
|
|
@ -1,4 +1,4 @@
|
||||||
angular.module('portainer.app')
|
angular.module('portainer.extensions.oauth')
|
||||||
.factory('OAuth', ['$resource', 'API_ENDPOINT_OAUTH', function OAuthFactory($resource, API_ENDPOINT_OAUTH) {
|
.factory('OAuth', ['$resource', 'API_ENDPOINT_OAUTH', function OAuthFactory($resource, API_ENDPOINT_OAUTH) {
|
||||||
'use strict';
|
'use strict';
|
||||||
return $resource(API_ENDPOINT_OAUTH, {}, {
|
return $resource(API_ENDPOINT_OAUTH, {}, {
|
Loading…
Reference in New Issue