We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef4c1de commit 6ff881fCopy full SHA for 6ff881f
src/tasks/Request7Channels.kt
@@ -3,7 +3,6 @@ package tasks
3
import contributors.*
4
import kotlinx.coroutines.channels.Channel
5
import kotlinx.coroutines.coroutineScope
6
-import kotlinx.coroutines.launch
7
8
suspend fun loadContributorsChannels(
9
service: GitHubService,
@@ -14,7 +13,7 @@ suspend fun loadContributorsChannels(
14
13
val repos = service
15
.getOrgRepos(req.org)
16
.also { logRepos(req, it) }
17
- .body() ?: listOf()
+ .bodyList()
18
19
var allUsers = emptyList<User>()
20
val channel = Channel<List<User>>()
0 commit comments