Skip to content

Commit f9989aa

Browse files
committed
refactor: remove "kotlin" prefix in ImageGenerationsImpl
1 parent 8ffd0cb commit f9989aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ychat/src/commonMain/kotlin/co/yml/ychat/entrypoint/impl/ImageGenerationsImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ internal class ImageGenerationsImpl(
4141

4242
override fun execute(prompt: String, callback: YChat.Callback<List<String>>) {
4343
scope.launch {
44-
kotlin.runCatching { execute(prompt) }
44+
runCatching { execute(prompt) }
4545
.onSuccess { callback.onSuccess(it) }
4646
.onFailure { callback.onError(it) }
4747
}

0 commit comments

Comments
 (0)