feat: fetch page tree resolver
This commit is contained in:
		@@ -43,6 +43,9 @@ module.exports = async (pageId) => {
 | 
			
		||||
            pageId: isFolder ? null : page.id
 | 
			
		||||
          })
 | 
			
		||||
          parentId = pik
 | 
			
		||||
        } else if (isFolder && !found.isFolder) {
 | 
			
		||||
          found.isFolder = true
 | 
			
		||||
          parentId = found.id
 | 
			
		||||
        } else {
 | 
			
		||||
          parentId = found.id
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user