mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 03:54:04 +02:00
refactor: return proper response object (#4169)
This commit is contained in:
@@ -32,7 +32,7 @@ class FunkBridge extends BridgeAbstract
|
||||
$url .= '?size=' . $this->getInput('max');
|
||||
}
|
||||
|
||||
$jsonString = getContents($url) or returnServerError('No contents received!');
|
||||
$jsonString = getContents($url);
|
||||
$json = json_decode($jsonString, true);
|
||||
|
||||
foreach ($json['list'] as $element) {
|
||||
|
Reference in New Issue
Block a user