Skip to content

Commit

Permalink
Temporary workarounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Sep 9, 2023
1 parent 311ad2a commit 0862e22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public AssetDto postAsset(File file, AssetsPostAssetRequest request, RequestOpti
}
MultipartBody.Builder _multipartBody = new MultipartBody.Builder().setType(MultipartBody.FORM);
try {
_multipartBody.addFormDataPart("file", null, RequestBody.create(null, file));
_multipartBody.addFormDataPart("file", "logo-wide.png", RequestBody.create(MediaType.parse("image/png"), file));
} catch (Exception e) {
throw new RuntimeException(e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public String toString() {
return ObjectMappers.stringify(this);
}

public static BodyStage builder() {
public static Builder builder() {
return new Builder();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public String toString() {
return ObjectMappers.stringify(this);
}

public static BodyStage builder() {
public static Builder builder() {
return new Builder();
}

Expand Down

0 comments on commit 0862e22

Please sign in to comment.