Skip to content

Commit

Permalink
Fix deprecated API call
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Dec 14, 2015
1 parent f08e7aa commit 37a1ec9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object UUIDHelper {
val response = httpClient.newCall(request).execute()
val body = JSONValue.parse(response.body().string()) as JSONObject

if (body.containsKey("error")) {
if (body.containsKeyRaw("error")) {
return ""
}

Expand Down

0 comments on commit 37a1ec9

Please sign in to comment.