mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-27 23:40:36 +05:30
Fix okhttp deprecation
This commit is contained in:
parent
4c3918ac4c
commit
d9caa90d23
@ -68,7 +68,7 @@ public final class DownloaderTestImpl extends Downloader {
|
||||
|
||||
RequestBody requestBody = null;
|
||||
if (dataToSend != null) {
|
||||
requestBody = RequestBody.create(null, dataToSend);
|
||||
requestBody = RequestBody.create(dataToSend);
|
||||
}
|
||||
|
||||
final okhttp3.Request.Builder requestBuilder = new okhttp3.Request.Builder()
|
||||
|
Loading…
x
Reference in New Issue
Block a user