diff --git a/src/api/banner/banner.aapi.service.js b/src/api/banner/banner.aapi.service.js new file mode 100644 index 00000000..914baa8e --- /dev/null +++ b/src/api/banner/banner.aapi.service.js @@ -0,0 +1,11 @@ +angular.module('ovh-api-services').service('OvhApiBannerAapi', ($resource) => { + const resource = $resource('/banner', { + }, { + query: { + method: 'GET', + serviceType: 'aapi', + }, + }); + + return resource; +}); diff --git a/src/api/banner/banner.service.js b/src/api/banner/banner.service.js new file mode 100644 index 00000000..01e6170e --- /dev/null +++ b/src/api/banner/banner.service.js @@ -0,0 +1,5 @@ +angular.module('ovh-api-services').service('OvhApiBanner', $injector => ({ + Aapi() { + return $injector.get('OvhApiBannerAapi'); + }, +}));