Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
ca9ab470
Commit
ca9ab470
authored
Sep 22, 2018
by
Nicolas Giard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: contribute resolver
parent
0bd9c36d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
contribute.js
server/graph/resolvers/contribute.js
+1
-3
No files found.
server/graph/resolvers/contribute.js
View file @
ca9ab470
...
...
@@ -11,7 +11,7 @@ module.exports = {
uri
:
'https://opencollective.com/wikijs/members/all.json'
,
json
:
true
})
const
dude
=
_
.
filter
(
resp
,
c
=>
{
return
_
.
filter
(
resp
,
c
=>
{
return
c
.
role
===
'BACKER'
&&
c
.
totalAmountDonated
>
0
}).
map
(
c
=>
({
company
:
_
.
get
(
c
,
'company'
,
''
)
||
''
,
...
...
@@ -26,8 +26,6 @@ module.exports = {
twitter
:
_
.
get
(
c
,
'twitter'
,
''
)
||
''
,
website
:
_
.
get
(
c
,
'website'
,
''
)
||
''
}))
console
.
info
(
dude
)
return
dude
}
}
}
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