mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 05:24:08 +02:00
refactor: return proper response object (#4169)
This commit is contained in:
@@ -598,7 +598,7 @@ EXTERNAL;
|
||||
private function makeApiCall($api, $authHeaders, $params)
|
||||
{
|
||||
$uri = self::API_URI . $api . '?' . http_build_query($params);
|
||||
$result = getContents($uri, $authHeaders, [], false);
|
||||
$result = getContents($uri, $authHeaders);
|
||||
$data = json_decode($result);
|
||||
return $data;
|
||||
}
|
||||
|
Reference in New Issue
Block a user