From 69f2d24c22ddf9e863417aef37cf2bd761b8f17e Mon Sep 17 00:00:00 2001 From: Him188 Date: Mon, 5 Jul 2021 18:02:01 +0800 Subject: [PATCH] Fix build --- mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt b/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt index 603dc0226..9f55af2a1 100644 --- a/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt +++ b/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt @@ -31,6 +31,7 @@ import net.mamoe.mirai.utils.ExternalResource.Companion.sendAsImageTo import net.mamoe.mirai.utils.ExternalResource.Companion.toExternalResource import net.mamoe.mirai.utils.ExternalResource.Companion.uploadAsImage import net.mamoe.mirai.utils.RemoteFile.Companion.sendFile +import net.mamoe.mirai.utils.RemoteFile.Companion.uploadFile import java.io.*