diff --git a/src/api/telephony/line/telephony-line.aapi.service.js b/src/api/telephony/line/telephony-line.aapi.service.js deleted file mode 100644 index a7630e7b..00000000 --- a/src/api/telephony/line/telephony-line.aapi.service.js +++ /dev/null @@ -1,18 +0,0 @@ -angular.module('ovh-api-services').service('OvhApiTelephonyLineAapi', ($resource, $cacheFactory) => { - const cache = $cacheFactory('OvhApiTelephonyLineAapi'); - - const telephonyAll = $resource('/telephony/line', {}, { - get: { - method: 'GET', - serviceType: 'aapi', - isArray: true, - cache, - }, - }); - - telephonyAll.resetCache = function () { - cache.removeAll(); - }; - - return telephonyAll; -}); diff --git a/src/api/telephony/line/telephony-line.service.js b/src/api/telephony/line/telephony-line.service.js index ebc7363e..e8992bfb 100644 --- a/src/api/telephony/line/telephony-line.service.js +++ b/src/api/telephony/line/telephony-line.service.js @@ -2,9 +2,6 @@ angular.module('ovh-api-services').service('OvhApiTelephonyLine', ($injector) => v6() { return $injector.get('OvhApiTelephonyLineV6'); }, - Aapi() { - return $injector.get('OvhApiTelephonyLineAapi'); - }, v7() { return $injector.get('OvhApiTelephonyLineV7'); },