[various] Rename ICanHandleHttpResponses->getBody to getBodyString
[friendica-addons.git/.git] / libertree / libertree.php
index c0f896c..f69c0aa 100644 (file)
@@ -201,7 +201,7 @@ function libertree_send(array &$b)
                //      'token' => $ltree_api_token
                ];
 
-               $result = DI::httpClient()->post($ltree_blog, $params)->getBody();
+               $result = DI::httpClient()->post($ltree_blog, $params)->getBodyString();
                Logger::notice('libertree: ' . $result);
        }
 }