diff options
Diffstat (limited to 'bridges/TwitchBridge.php')
-rw-r--r-- | bridges/TwitchBridge.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/TwitchBridge.php b/bridges/TwitchBridge.php index 8b43a317..9d4e9111 100644 --- a/bridges/TwitchBridge.php +++ b/bridges/TwitchBridge.php @@ -213,8 +213,7 @@ EOD; Debug::log("Sending GraphQL variables:\n" . json_encode($variables, JSON_PRETTY_PRINT)); - $response = json_decode(getContents(self::API_ENDPOINT, $header, $opts)) - or returnServerError('API request to "' . self::API_ENDPOINT . '" failed.'); + $response = json_decode(getContents(self::API_ENDPOINT, $header, $opts)); Debug::log("Got GraphQL response:\n" . json_encode($response, JSON_PRETTY_PRINT)); |