[graphql] remove unnecessary logs

parent 7f9f3512
...@@ -44,7 +44,7 @@ getNode session nodeId = do ...@@ -44,7 +44,7 @@ getNode session nodeId = do
case eRes of case eRes of
Left err -> pure $ Left err Left err -> pure $ Left err
Right { nodes } -> do Right { nodes } -> do
liftEffect $ here.log2 "[getNode] node" nodes -- liftEffect $ here.log2 "[getNode] node" nodes
pure $ case A.head nodes of pure $ case A.head nodes of
Nothing -> Left (CustomError $ "node with id" <> show nodeId <>" not found") Nothing -> Left (CustomError $ "node with id" <> show nodeId <>" not found")
Just node -> Right node Just node -> Right node
...@@ -145,7 +145,7 @@ getTreeFirstLevel session id = do ...@@ -145,7 +145,7 @@ getTreeFirstLevel session id = do
case eRes of case eRes of
Left err -> pure $ Left err Left err -> pure $ Left err
Right { tree } -> do Right { tree } -> do
liftEffect $ here.log2 "[getTreeFirstLevel] tree first level" tree -- liftEffect $ here.log2 "[getTreeFirstLevel] tree first level" tree
pure $ Right tree -- TODO: error handling pure $ Right tree -- TODO: error handling
getTeam :: Session -> Int -> AffRESTError Team getTeam :: Session -> Int -> AffRESTError Team
......
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