mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Make "HTTPRequest::fetchUrlFull" dynamic
This commit is contained in:
parent
20056dc795
commit
fed6e3cde1
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ function mastodoncustomemojis_fetch_custom_emojis_for_url($api_base_url)
|
|||
|
||||
$api_url = $api_base_url . '/api/v1/custom_emojis';
|
||||
|
||||
$fetchResult = HTTPRequest::fetchUrlFull($api_url);
|
||||
$fetchResult = DI::httpRequest()->fetchUrlFull($api_url);
|
||||
|
||||
if ($fetchResult->isSuccess()) {
|
||||
$emojis_array = json_decode($fetchResult->getBody(), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue