Skip to content

Commit

Permalink
POST provider/assets removed: boundary=frontier
Browse files Browse the repository at this point in the history
  • Loading branch information
dkovacevic committed May 8, 2024
1 parent abadd30 commit 1673472
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public AssetKey uploadProfilePicture(Cookie cookie, byte[] image, String mimeTyp
.path("assets")
.request(MediaType.APPLICATION_JSON)
.cookie(cookie)
.post(Entity.entity(os.toByteArray(), "multipart/mixed; boundary=frontier"));
.post(Entity.entity(os.toByteArray(), "multipart/mixed"));

if (response.getStatus() >= 400) {
String msg = response.readEntity(String.class);
Expand Down

0 comments on commit 1673472

Please sign in to comment.