[Core] Fix relationship bug

Fix error in relationship capability; return cached
promise for specific relationship. WTD-1007
This commit is contained in:
Victor Woeltjen 2015-03-10 15:05:02 -07:00
parent 66eef8ccc4
commit e781ead497

View File

@ -66,7 +66,7 @@ define(
.then(packageObject);
}
return lastPromise;
return lastPromise[key];
}
// List types of relationships which this object has