Commit 92e5ee63 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Tree] debug

parent 52594085
......@@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: gargantext
version: 0.0.6.9.9.5.1
version: 0.0.6.9.9.5.1
synopsis: Search, map, share
description: Please see README.md
category: Data
......
......@@ -51,8 +51,11 @@ dbTree :: (CmdCommon env) =>
dbTree root_id = do
let rId = NodeId root_id
t <- lift $ T.tree T.TreeFirstLevel rId allNodeTypes
lift $ printDebug "dbTree t" t
n <- lift $ getNode $ NodeId root_id
lift $ printDebug "dbTree n" n
let pId = toParentId n
lift $ printDebug "dbTree pId" pId
pure $ toTree rId pId t
where
toParentId N.Node { _node_parent_id } = _node_parent_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment