diff --git a/src/main/kotlin/gg/obsidian/discoursegroupsync/UUIDHelper.kt b/src/main/kotlin/gg/obsidian/discoursegroupsync/UUIDHelper.kt index ca86c33..6bc7dd6 100644 --- a/src/main/kotlin/gg/obsidian/discoursegroupsync/UUIDHelper.kt +++ b/src/main/kotlin/gg/obsidian/discoursegroupsync/UUIDHelper.kt @@ -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 "" }