feat: fetch page tree resolver
This commit is contained in:
1 parent
38c33c58bb
commit
2a4b89859c
3 files changed
+56
No files matched your search
@@ -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