Skip to content

Commit 2fd4167

Browse files
committed
Add nice-to-have
1 parent e4cc57a commit 2fd4167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/raffle-candidate-service.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ module.exports = class RaffleCandidateService {
1212
return this._slackUserRepository.findAllByIds(eligibleParticipantIds)
1313
}
1414

15+
// TODO: make channel name configurable
1516
async _findOrgIds() {
1617
return this._slackChannelRepository.findOne('paris2021-org', true)
1718
.then(channel => channel.id)
1819
.then(channelId => this._slackUserRepository.findAllMemberIds(channelId))
1920
}
2021

22+
// TODO: make channel name configurable
2123
async _findAllRaffleCandidateIds() {
2224
return this._slackChannelRepository.findOne('paris2021-raffle', false)
2325
.then(channel => channel.id)

0 commit comments

Comments
 (0)