This commit is contained in:
GregTCLTK 2020-01-21 17:31:09 +01:00
parent 115389e272
commit a939d29c39
No known key found for this signature in database
GPG key ID: A91BADE5C070FF67

View file

@ -35,7 +35,7 @@ public class Request {
try {
JSONObject data = json.getJSONObject("data");
JSONObject response1 = data.getJSONObject("response");
return response1.toString().replace("{\"url\":\"", "").replace("\"}", "");
return response1.getString("url");
} catch (Exception ignore) {
return json.getString("url");
}