X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FPullDirectory.php;h=2cf084124690d93126b8f47a5d4358296c6e1717;hb=4eecf733e156eca7ea7cc4458b2daa8adda96209;hp=8592105b24b998388c3f002e76f77635e80c0b36;hpb=d4968b456204416136ec800197a408842d2e25c5;p=friendica.git diff --git a/src/Worker/PullDirectory.php b/src/Worker/PullDirectory.php index 8592105b24..2cf0841246 100644 --- a/src/Worker/PullDirectory.php +++ b/src/Worker/PullDirectory.php @@ -1,6 +1,6 @@ $now, 'directory' => $directory]); - $result = DI::httpRequest()->fetch($directory . '/sync/pull/since/' . $now); + $result = DI::httpClient()->fetch($directory . '/sync/pull/since/' . $now, HttpClientAccept::JSON); if (empty($result)) { Logger::info('Directory server return empty result.', ['directory' => $directory]); return;