[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

@ -121,7 +121,7 @@ function openstreetmap_get_coordinates(array &$b)
if (is_null($j)) {
$curlResult = DI::httpClient()->get($nomserver . $args);
if ($curlResult->isSuccess()) {
$j = json_decode($curlResult->getBody(), true);
$j = json_decode($curlResult->getBodyString(), true);
DI::cache()->set($cachekey, $j, Duration::MONTH);
}
}