mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 00:11:22 +00:00
@@ -306,7 +306,7 @@ public class GHContent implements Refreshable {
|
||||
*/
|
||||
public GHContentUpdateResponse update(byte[] newContentBytes, String commitMessage, String branch)
|
||||
throws IOException {
|
||||
String encodedContent = Base64.getMimeEncoder().encodeToString(newContentBytes);
|
||||
String encodedContent = Base64.getEncoder().encodeToString(newContentBytes);
|
||||
|
||||
Requester requester = root.createRequest()
|
||||
.method("POST")
|
||||
|
||||
Reference in New Issue
Block a user