[various] Rename ICanHandleHttpResponses->getBody to getBodyString

- Depends on https://github.com/friendica/friendica/pull/13826
This commit is contained in:
Hypolite Petovan 2024-01-12 01:16:01 -05:00
parent 4dedd24320
commit 13fd713b66
13 changed files with 26 additions and 26 deletions

View file

@ -82,7 +82,7 @@ function mastodoncustomemojis_fetch_custom_emojis_for_url($api_base_url)
$fetchResult = DI::httpClient()->fetchFull($api_url);
if ($fetchResult->isSuccess()) {
$emojis_array = json_decode($fetchResult->getBody(), true);
$emojis_array = json_decode($fetchResult->getBodyString(), true);
if (is_array($emojis_array) && count($emojis_array)) {
foreach ($emojis_array as $emoji) {