We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fdf469a + 224480b commit 9c7ddc4Copy full SHA for 9c7ddc4
src/main/java/com/redhat/labs/omp/models/gitlab/File.java
@@ -62,7 +62,7 @@ public void encodeFileAttributes() {
62
63
// encode contents
64
if (null != content) {
65
- byte[] encodedContents = EncodingUtils.base64Encode(this.filePath.getBytes());
+ byte[] encodedContents = EncodingUtils.base64Encode(this.content.getBytes());
66
this.content = new String(encodedContents, StandardCharsets.UTF_8);
67
}
68
0 commit comments