We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0fb96c + f0a0fe0 commit c4833b2Copy full SHA for c4833b2
simbot-component-kook-api/src/commonMain/kotlin/love/forte/simbot/kook/api/asset/CreateAssetApi.kt
@@ -51,7 +51,7 @@ public class CreateAssetApi private constructor(
51
private const val DEFAULT_FILENAME = "unknown-file"
52
private const val ASSET_API_FORM_PROPERTY_NAME = "file"
53
private val HEADERS = Headers.build {
54
- append(HttpHeaders.ContentType, "form-data")
+ append(HttpHeaders.ContentType, ContentType.MultiPart.FormData)
55
}
56
57
/**
0 commit comments