From a86e7b07ddfb59dffeb0f372e8d66f1a565b14d9 Mon Sep 17 00:00:00 2001 From: Marie JONES Date: Tue, 4 Feb 2020 07:43:01 +0100 Subject: [PATCH] fix(cloud.project.container-registry): specify array response (#277) Signed-off-by: Marie JONES --- .../cloud-project-containerRegistry.v6.service.js | 1 + .../plan/cloud-project-containerRegistry-plan.v6.service.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/api/cloud/project/containerRegistry/cloud-project-containerRegistry.v6.service.js b/src/api/cloud/project/containerRegistry/cloud-project-containerRegistry.v6.service.js index 7a1f0d72..d0de50ee 100644 --- a/src/api/cloud/project/containerRegistry/cloud-project-containerRegistry.v6.service.js +++ b/src/api/cloud/project/containerRegistry/cloud-project-containerRegistry.v6.service.js @@ -31,6 +31,7 @@ angular.module('ovh-api-services').service('OvhApiCloudProjectContainerRegistryV getCapabilities: { method: 'GET', url: '/cloud/project/:serviceName/capabilities/containerRegistry', + isArray: true, }, }); diff --git a/src/api/cloud/project/containerRegistry/plan/cloud-project-containerRegistry-plan.v6.service.js b/src/api/cloud/project/containerRegistry/plan/cloud-project-containerRegistry-plan.v6.service.js index 635f1ea6..adeda0c2 100644 --- a/src/api/cloud/project/containerRegistry/plan/cloud-project-containerRegistry-plan.v6.service.js +++ b/src/api/cloud/project/containerRegistry/plan/cloud-project-containerRegistry-plan.v6.service.js @@ -8,5 +8,6 @@ angular.module('ovh-api-services').service('OvhApiCloudProjectContainerRegistryP getCapabilities: { method: 'GET', url: '/cloud/project/:serviceName/containerRegistry/:registryID/capabilities/plan', + isArray: true, }, }));