Fix warning as per #3901

This commit is contained in:
Benoit Marty 2021-08-30 12:30:11 +02:00
parent 381fc75d7e
commit b6d3689475

View file

@ -224,7 +224,7 @@ public class BugReporterMultipartBody extends RequestBody {
}
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) {