summaryrefslogtreecommitdiff
path: root/src/io/BearerRequester.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/BearerRequester.java')
-rw-r--r--src/io/BearerRequester.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/BearerRequester.java b/src/io/BearerRequester.java
index 8af38f8..e778a4f 100644
--- a/src/io/BearerRequester.java
+++ b/src/io/BearerRequester.java
@@ -91,7 +91,7 @@ public class BearerRequester extends AbstractRequester {
// NOTE: this actually contributes to the ratelimit (12/minute)
// TODO: find alternative that does not hit the ratelimit
Response obj = getJSON("application/rate_limit_status");
- return obj.getResp().getAsJsonObject().has("errors");
+ return obj.getJson().getAsJsonObject().has("errors");
} catch (RateLimitException ex) {
return false;
}