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 telephony spare
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephanie Moallic committed Jul 29, 2019
1 parent 77af4e2 commit 9e0af67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/telephony/spare/telephony-spare.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ angular.module("ovh-api-services").service("OvhApiTelephonySpareV6", function ($
},
getBrands: {
method: "GET",
url: "/telephony/spare/brands",
url: "/telephony/spare/brands"
},
getNewSpare: {
method: "GET",
url: "/order/telephony/spare/new",
url: "/order/telephony/spare/new"
},
orderNewSpare: {
method: "POST",
url: "/order/telephony/spare/new",
},
url: "/order/telephony/spare/new"
}
});

spareResource.resetAllCache = function () {
Expand Down
3 changes: 3 additions & 0 deletions src/api/telephony/telephony.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ angular.module("ovh-api-services").service("OvhApiTelephony", function ($injecto
},
Task: function () {
return $injector.get("OvhApiTelephonyTask");
},
Spare: function () {
return $injector.get("OvhApiTelephonySpare");
}
};
});

0 comments on commit 9e0af67

Please sign in to comment.