Skip to content

Commit f55eb2e

Browse files
committed
docs: update README.md
1 parent 214dd00 commit f55eb2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ public class OkHttpYoutubeClient implements YoutubeClient {
292292
}
293293

294294
@Override
295-
public String post(String url, String body) throws TranscriptRetrievalException {
296-
RequestBody requestBody = RequestBody.create(body, MediaType.parse("application/json; charset=utf-8"));
295+
public String post(String url, String json) throws TranscriptRetrievalException {
296+
RequestBody requestBody = RequestBody.create(json, MediaType.parse("application/json; charset=utf-8"));
297297

298298
Request request = new Request.Builder()
299299
.url(url)

0 commit comments

Comments
 (0)