Removed extraneous fields being passed to InventoryUpdate, only the url is needed

This commit is contained in:
Michael Abashian
2017-06-21 11:24:59 -04:00
parent 79a6cabbbc
commit 2afbbe2c13

View File

@@ -10,11 +10,7 @@ export default
.success(function (data) { .success(function (data) {
InventoryUpdate({ InventoryUpdate({
scope: scope, scope: scope,
url: data.related.update, url: data.related.update
group_name: data.summary_fields.group.name,
group_source: data.source,
tree_id: null,
group_id: data.group
}); });
}) })
.error(function (data, status) { .error(function (data, status) {