When a request is being done, one of the steps is finding the community
|
return exports.findByCommunity(community['jiveCommunity']).then( function( community ) { |
the retrieved community variable is checked for not being null and never used again.
If I override the .findByCommunity to return a truthily-resolved promise, it just works and makes the query.