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.
1 parent deb8106 commit 224480bCopy full SHA for 224480b
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