Commit ff853ddf authored by Tristan Cavelier's avatar Tristan Cavelier

Add portal_type to erp5storage get response

parent f9bc827b
......@@ -245,6 +245,7 @@
.then(function (response) {
var result = JSON.parse(response.target.responseText);
result._id = param._id;
result.portal_type = result._links.type.name;
delete result._embedded;
delete result._links;
delete result._debug;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment