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
153
Issues
153
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
5817f50c
Commit
5817f50c
authored
Sep 26, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] change leader to owner
parent
cc660fa9
Pipeline
#3210
passed with stage
in 102 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gargantext.cabal
gargantext.cabal
+1
-1
Team.hs
src/Gargantext/API/GraphQL/Team.hs
+2
-2
No files found.
gargantext.cabal
View file @
5817f50c
...
...
@@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: gargantext
version: 0.0.6.4
version:
0.0.6.4
synopsis: Search, map, share
description: Please see README.md
category: Data
...
...
src/Gargantext/API/GraphQL/Team.hs
View file @
5817f50c
...
...
@@ -26,7 +26,7 @@ data TeamArgs = TeamArgs
{
team_node_id
::
Int
}
deriving
(
Generic
,
GQLType
)
data
Team
=
Team
{
team_
lead
er_username
::
Text
{
team_
own
er_username
::
Text
,
team_members
::
[
TeamMember
]
}
deriving
(
Generic
,
GQLType
)
...
...
@@ -55,7 +55,7 @@ dbTeam nodeId = do
teamNode
<-
lift
$
getNode
nId
userNodes
<-
lift
$
getUsersWithNodeHyperdata
$
uId
teamNode
let
username
=
getUsername
userNodes
pure
$
Team
{
team_
lead
er_username
=
username
pure
$
Team
{
team_
own
er_username
=
username
,
team_members
=
map
toTeamMember
res
}
where
...
...
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