Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
feat(spare): update files tu remove errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephanie Moallic committed Jul 29, 2019
1 parent 101d8e3 commit 77af4e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/xdsl/spare/xdsl-spare.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ angular.module("ovh-api-services").service("OvhApiXdslSpareV6", function ($resou
},
getBrands: {
method: "GET",
url: "/xdsl/spare/brands",
url: "/xdsl/spare/brands"
},
getNewSpare: {
method: "GET",
url: "/order/xdsl/spare/new",
url: "/order/xdsl/spare/new"
},
orderNewSpare: {
method: "POST",
url: "/order/xdsl/spare/new",
},
url: "/order/xdsl/spare/new"
}
});

spareResource.resetAllCache = function () {
Expand Down
3 changes: 3 additions & 0 deletions src/api/xdsl/xdsl.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ angular.module("ovh-api-services").service("OvhApiXdsl", function ($injector, $c
TemplateModem: function () {
return $injector.get("OvhApiXdslTemplateModem");
},
Spare: function () {
return $injector.get("OvhApiXdslSpare");
},
resetCache: cache.removeAll,
cache: cache
};
Expand Down

0 comments on commit 77af4e2

Please sign in to comment.