Skip to content

fix: UploadProjectMarkdown due to missing headers

This commit fixes an issue where the HTTP request in UploadProjectMarkdown has incomplete HTTP headers required for multipart uploads, resulting in HTTP 400 responses.

On further investigation, the Go client already provides for this API endpoint through the UploadFile method. However, UploadFile was renamed and moved from the Projects API to the Markdown Uploads API.

To resolve this issue, we align the implementation of UploadProjectMarkdown to that of UploadFile and mark UploadFile as deprecated to be removed in a future release.

Resolves #2088 (closed)

Edited by ZhengYuan Loo

Merge request reports

Loading