From 0112d4622eb7de004a0631e2c9a4b3011a401b93 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 20 Mar 2021 16:49:02 +0800 Subject: [PATCH] Rename ExternalResource.Companion.uploadAsFileTo to uploadAsFile to keep consistency --- mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt b/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt index 31d8d7da0..ddc5a9ea8 100644 --- a/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt +++ b/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt @@ -291,7 +291,7 @@ public interface ExternalResource : Closeable { @JvmBlockingBridge @JvmName("uploadAsFile") @JvmOverloads - public suspend fun ExternalResource.uploadAsFileTo( + public suspend fun ExternalResource.uploadAsFile( contact: FileSupported, path: String, callback: RemoteFile.ProgressionCallback? = null