Skip to content

Commit

Permalink
Fix warning as per #3901
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Aug 30, 2021
1 parent 381fc75 commit b6d3689
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public static Part create(Headers headers, RequestBody body) {
}

public static Part createFormData(String name, String value) {
return createFormData(name, null, RequestBody.create(null, value));
return createFormData(name, null, RequestBody.create(value, null));
}

public static Part createFormData(String name, String filename, RequestBody body) {
Expand Down

0 comments on commit b6d3689

Please sign in to comment.