1
0

fix: fix futher

This commit is contained in:
Ca2didi 2025-05-09 00:24:44 +08:00
parent 08432a07c1
commit 5f6996ac53

View File

@ -264,7 +264,7 @@ namespace Flawless.Client.Remote
/// <returns>OK</returns>
/// <exception cref="ApiException">Thrown when the request returns a non-success status code.</exception>
[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<CommitSuccessResponse> CreateCommit(string userName, string repositoryName, StreamPart depot, string message, IEnumerable<string> workspaceSnapshot, IEnumerable<string> requiredDepots, string mainDepotId, CancellationToken cancellationToken = default);