We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cc57a commit 2fd4167Copy full SHA for 2fd4167
lib/raffle-candidate-service.js
@@ -12,12 +12,14 @@ module.exports = class RaffleCandidateService {
12
return this._slackUserRepository.findAllByIds(eligibleParticipantIds)
13
}
14
15
+ // TODO: make channel name configurable
16
async _findOrgIds() {
17
return this._slackChannelRepository.findOne('paris2021-org', true)
18
.then(channel => channel.id)
19
.then(channelId => this._slackUserRepository.findAllMemberIds(channelId))
20
21
22
23
async _findAllRaffleCandidateIds() {
24
return this._slackChannelRepository.findOne('paris2021-raffle', false)
25
0 commit comments