Closed
Description
I think that org.gitlab4j.api.RepositoryFileApi.updateFile
is sending it's PUT
request to the wrong endpoint. I believe that:
put(Response.Status.OK, form.asMap(), "projects", projectId, "repository", "files", urlEncode(file.getFilePath()))
should be:
put(Response.Status.OK, form.asMap(), "projects", projectId, "repository", "files")
and that org.gitlab4j.api.RepositoryFileApi.file2form(RepositoryFile, String, String)
should include:
addFormParam(form, "file_path", filepath, true);
Metadata
Metadata
Assignees
Labels
No labels