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

Commit

Permalink
fix(pcc.datacenter.zerto): add response transformation for default lo…
Browse files Browse the repository at this point in the history
…cal vra network (#180)
  • Loading branch information
JeremyDec authored and antleblanc committed Jun 19, 2019
1 parent ac1fdeb commit f084257
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZertoS
},
getDefaultLocalVraNetwork: {
url: "/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zertoSingle/defaultLocalVraNetwork",
method: "GET"
method: "GET",
transformResponse: function (resp, headers, status) {
var data = resp;

if (status === 200) {
data = {
value: angular.fromJson(data)
};
}
return data;
}
}
});

Expand Down

0 comments on commit f084257

Please sign in to comment.