Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
753dabd2
Verified
Commit
753dabd2
authored
Apr 26, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[graphql] remove unnecessary logs
parent
7f9f3512
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Endpoints.purs
src/Gargantext/Components/GraphQL/Endpoints.purs
+2
-2
No files found.
src/Gargantext/Components/GraphQL/Endpoints.purs
View file @
753dabd2
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment