Skip to content
Permalink
Browse files
Bug fix in resource fetching
  • Loading branch information
isururanawaka committed Sep 10, 2021
1 parent 2762fde commit 78839ef6c82b5d8e2b2015019b50e178febb3e0e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -255,7 +255,7 @@ public void fetchChildResources(ChildResourceFetchRequest request,
" OPTIONAL MATCH (g)<-[chgrRel:SHARED_WITH]-(r)<-[:CHILD_OF*]-(chgr)" +
" OPTIONAL MATCH (u)<-[prRelU:SHARED_WITH]-(pr:COLLECTION)<-[:CHILD_OF*]-(r)<-[:CHILD_OF]-(x)" +
" OPTIONAL MATCH (g)<-[prRelG:SHARED_WITH]-(prg:COLLECTION)<-[:CHILD_OF*]-(r)<-[:CHILD_OF]-(y)" +
" return distinct cr,crRel, chgr,chgrRel";
" return distinct cr,crRel, chgr,chgrRel, x, prRelU,y,prRelG";

if (depth == 1) {
query = " MATCH (u:User), (r" + type + ") where u.username = $username AND u.tenantId = $tenantId AND " +

0 comments on commit 78839ef

Please sign in to comment.