X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FPullDirectory.php;h=2cf084124690d93126b8f47a5d4358296c6e1717;hb=4eecf733e156eca7ea7cc4458b2daa8adda96209;hp=86c8f5a25a8293de66b090c2da0d08174a702734;hpb=7fb9e1c7c8f5f4887e44aadf6115b68c6cc66d03;p=friendica.git diff --git a/src/Worker/PullDirectory.php b/src/Worker/PullDirectory.php index 86c8f5a25a..2cf0841246 100644 --- a/src/Worker/PullDirectory.php +++ b/src/Worker/PullDirectory.php @@ -1,6 +1,6 @@ $now, 'directory' => $directory]); - $result = DI::httpClient()->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;