Skip to content

Commit 6ff881f

Browse files
committed
channels fix
1 parent ef4c1de commit 6ff881f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tasks/Request7Channels.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package tasks
33
import contributors.*
44
import kotlinx.coroutines.channels.Channel
55
import kotlinx.coroutines.coroutineScope
6-
import kotlinx.coroutines.launch
76

87
suspend fun loadContributorsChannels(
98
service: GitHubService,
@@ -14,7 +13,7 @@ suspend fun loadContributorsChannels(
1413
val repos = service
1514
.getOrgRepos(req.org)
1615
.also { logRepos(req, it) }
17-
.body() ?: listOf()
16+
.bodyList()
1817

1918
var allUsers = emptyList<User>()
2019
val channel = Channel<List<User>>()

0 commit comments

Comments
 (0)