From 454b6d58144bf6ab1e223240017e4729da3c3256 Mon Sep 17 00:00:00 2001 From: Ca2didi Date: Wed, 21 May 2025 12:44:30 +0800 Subject: [PATCH] fix: Do not use multipart transmission --- Flawless.Client/Service/Remote_Generated.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flawless.Client/Service/Remote_Generated.cs b/Flawless.Client/Service/Remote_Generated.cs index 44aff6e..84b65fe 100644 --- a/Flawless.Client/Service/Remote_Generated.cs +++ b/Flawless.Client/Service/Remote_Generated.cs @@ -282,7 +282,7 @@ namespace Flawless.Client.Remote /// OK /// Thrown when the request returns a non-success status code. [Multipart] - [Headers("Accept: text/plain, application/json, text/json", "Content-Type: multipart/form-data")] + [Headers("Accept: text/plain, application/json, text/json")] [Post("/api/repo/{userName}/{repositoryName}/create_commit")] Task CreateCommit(string userName, string repositoryName, StreamPart depot, string message, IEnumerable workspaceSnapshot, IEnumerable requiredDepots, string mainDepotId, CancellationToken cancellationToken = default);