mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-14 20:44:02 +02:00
refactor: return proper response object (#4169)
This commit is contained in:
@@ -149,7 +149,7 @@ class RedditBridge extends BridgeAbstract
|
||||
|
||||
$response = getContents($url, ['User-Agent: ' . $useragent], [], true);
|
||||
|
||||
$json = $response['content'];
|
||||
$json = $response->getBody();
|
||||
|
||||
$parsedJson = Json::decode($json, false);
|
||||
|
||||
|
Reference in New Issue
Block a user