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

refactor(oauth): move oauth rest service to extension

This commit is contained in:
Chaim Lev Ari 2019-01-02 20:00:41 +02:00
parent 7aaa9e58e9
commit 15b6941872
2 changed files with 4 additions and 2 deletions

View file

@ -1 +1,3 @@
angular.module('portainer.extensions.oauth', []);
angular.module('portainer.extensions.oauth', [
'ngResource'
]);

View file

@ -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) {
'use strict';
return $resource(API_ENDPOINT_OAUTH, {}, {