Skip to content

Commit

Permalink
fix(api): 修复 CreateAssetApi 使用的错误请求头
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Aug 12, 2024
1 parent b0fb96c commit f0a0fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class CreateAssetApi private constructor(
private const val DEFAULT_FILENAME = "unknown-file"
private const val ASSET_API_FORM_PROPERTY_NAME = "file"
private val HEADERS = Headers.build {
append(HttpHeaders.ContentType, "form-data")
append(HttpHeaders.ContentType, ContentType.MultiPart.FormData)
}

/**
Expand Down

0 comments on commit f0a0fe0

Please sign in to comment.