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

Commit

Permalink
feat(hosting.web): expose module list route through iceberg (#250)
Browse files Browse the repository at this point in the history
ref: MANAGER-3320
  • Loading branch information
JeremyDec authored and antleblanc committed Oct 15, 2019
1 parent 5028a9f commit 0b0fc55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
angular.module('ovh-api-services').service('OvhApiHostingWebModuleListIceberg', (iceberg) => iceberg('/hosting/web/moduleList', {
active: '@active',
branch: '@branch',
latest: '@latest',
}));
5 changes: 5 additions & 0 deletions src/api/hosting/web/moduleList/web-moduleList.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
angular.module('ovh-api-services').service('OvhApiHostingWebModuleList', ($injector) => ({
Iceberg() {
return $injector.get('OvhApiHostingWebModuleListIceberg');
},
}));

0 comments on commit 0b0fc55

Please sign in to comment.