Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
195
Issues
195
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
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
gargantext
haskell-gargantext
Commits
117f7ff2
Commit
117f7ff2
authored
Sep 24, 2020
by
Nicolas Pouillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Issue
#36
: workaround circular definition of ToSchema BSResponse
parent
74baff14
Pipeline
#1098
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
File.hs
src/Gargantext/API/Node/File.hs
+2
-1
No files found.
src/Gargantext/API/Node/File.hs
View file @
117f7ff2
...
@@ -27,6 +27,7 @@ import Servant.Server.Internal
...
@@ -27,6 +27,7 @@ import Servant.Server.Internal
import
Gargantext.Prelude
import
Gargantext.Prelude
import
qualified
Gargantext.Prelude.Utils
as
GPU
import
qualified
Gargantext.Prelude.Utils
as
GPU
import
Gargantext.Core.Types
(
TODO
)
import
Gargantext.API.Admin.Orchestrator.Types
(
JobLog
(
..
),
AsyncJobs
)
import
Gargantext.API.Admin.Orchestrator.Types
(
JobLog
(
..
),
AsyncJobs
)
import
Gargantext.API.Admin.Settings
(
HasSettings
)
import
Gargantext.API.Admin.Settings
(
HasSettings
)
import
Gargantext.API.Node.Types
import
Gargantext.API.Node.Types
...
@@ -65,7 +66,7 @@ newtype BSResponse = BSResponse BS.ByteString
...
@@ -65,7 +66,7 @@ newtype BSResponse = BSResponse BS.ByteString
deriving
(
Generic
)
deriving
(
Generic
)
instance
ToSchema
BSResponse
where
instance
ToSchema
BSResponse
where
declareNamedSchema
_
=
declareNamedSchema
(
Proxy
::
Proxy
BSResponse
)
declareNamedSchema
_
=
declareNamedSchema
(
Proxy
::
Proxy
TODO
)
fileDownload
::
(
HasSettings
env
,
FlowCmdM
env
err
m
)
fileDownload
::
(
HasSettings
env
,
FlowCmdM
env
err
m
)
=>
UserId
=>
UserId
...
...
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