[LinkService] Change variable name

...based on feedback from nasa/openmctweb#98
This commit is contained in:
Victor Woeltjen
2015-09-22 13:50:10 -07:00
parent 55362f6b26
commit b4a2bfd727

View File

@@ -57,10 +57,10 @@ define(
// that parentObject.hasCapability('composition'). // that parentObject.hasCapability('composition').
var composition = parentObject.getCapability('composition'); var composition = parentObject.getCapability('composition');
return composition.add(object).then(function (result) { return composition.add(object).then(function (objectInNewContext) {
return parentObject.getCapability('persistence') return parentObject.getCapability('persistence')
.persist() .persist()
.then(function () { return result; }); .then(function () { return objectInNewContext; });
}); });
}; };