mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Fix warning as per #3901
This commit is contained in:
parent
381fc75d7e
commit
b6d3689475
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user