mirror of
https://github.com/dalbodeule/sh0rt.kr-pdns.git
synced 2025-06-08 18:58:20 +00:00
useless code fix
This commit is contained in:
parent
d70bb49a14
commit
62adb80d51
@ -66,7 +66,6 @@ class PowerDNSAPIClient() {
|
||||
val response = client.newCall(request).execute()
|
||||
if(!response.isSuccessful) {
|
||||
val str = response.body?.string()
|
||||
println(str)
|
||||
val error = gson.fromJson(str, PowerDNSAPIError::class.java)
|
||||
throw PowerDNSAPIException(error)
|
||||
}
|
||||
@ -99,7 +98,6 @@ class PowerDNSAPIClient() {
|
||||
val response = client.newCall(request).execute()
|
||||
if(!response.isSuccessful) {
|
||||
val str = response.body?.string()
|
||||
println(str)
|
||||
val error = gson.fromJson(str, PowerDNSAPIError::class.java)
|
||||
throw PowerDNSAPIException(error)
|
||||
}
|
||||
@ -132,7 +130,6 @@ class PowerDNSAPIClient() {
|
||||
val response = client.newCall(request).execute()
|
||||
if(!response.isSuccessful) {
|
||||
val str = response.body?.string()
|
||||
println(str)
|
||||
val error = gson.fromJson(str, PowerDNSAPIError::class.java)
|
||||
throw PowerDNSAPIException(error)
|
||||
}
|
||||
@ -159,7 +156,6 @@ class PowerDNSAPIClient() {
|
||||
val response = client.newCall(request).execute()
|
||||
if(!response.isSuccessful) {
|
||||
val str = response.body?.string()
|
||||
println(str)
|
||||
val error = gson.fromJson(str, PowerDNSAPIError::class.java)
|
||||
throw PowerDNSAPIException(error)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user