Commit ca9ab470 authored by Nicolas Giard's avatar Nicolas Giard

fix: contribute resolver

parent 0bd9c36d
......@@ -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
}
}
}
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