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

Commit

Permalink
feat(pack.xdsl): add getContactOwner endpoint
Browse files Browse the repository at this point in the history
ref: UXCT-193

Signed-off-by: Antoine Leblanc <[email protected]>
Co-authored-by: Stephanie Moallic <[email protected]>
  • Loading branch information
antleblanc and Stephanie Moallic committed Jun 16, 2020
1 parent 8878f62 commit 253aa41
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/api/pack/xdsl/pack-xdsl.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,15 @@ angular.module('ovh-api-services').service('OvhApiPackXdslV6', ($resource, OvhAp
packName: '@packName',
},
},
getContactOwner: {
method: 'GET',
url: '/pack/xdsl/:packName/contactOwner',
transformResponse(data, headers, status) {
if (status === 200) {
return { data: angular.fromJson(data) };
}
return data;
},
},
});
});

0 comments on commit 253aa41

Please sign in to comment.