Fix minor deprecation-issues

This commit is contained in:
DaCool
2021-11-19 16:05:55 +00:00
committed by Sheepit Renderfarm
parent c38585a5b9
commit d41d77cda7
3 changed files with 3 additions and 3 deletions

View File

@@ -330,7 +330,7 @@ public class Server extends Thread {
.addQueryParameter("gpu_type", user_config.getGPUDevice().getType());
}
Response response = this.HTTPRequest(urlBuilder, RequestBody.create(MediaType.parse("application/xml"), this.generateXMLForMD5cache()));
Response response = this.HTTPRequest(urlBuilder, RequestBody.create(this.generateXMLForMD5cache(), MediaType.parse("application/xml")));
int r = response.code();
String contentType = response.body().contentType().toString();