Skip to content

Commit

Permalink
Merge pull request #165 from simple-robot/dev/fix-164
Browse files Browse the repository at this point in the history
fix(api): 修复 CreateAssetApi 使用的错误请求头
  • Loading branch information
ForteScarlet authored Aug 12, 2024
2 parents b0fb96c + f0a0fe0 commit c4833b2
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 c4833b2

Please sign in to comment.