diff --git a/src/Controller/SearchController.php b/src/Controller/SearchController.php index 99955aff7..865e09cce 100644 --- a/src/Controller/SearchController.php +++ b/src/Controller/SearchController.php @@ -62,7 +62,7 @@ public function __invoke(Request $request): Response $this->logger->debug('Query is a valid url'); $objects = $this->manager->findByApId($query); if (0 === \sizeof($objects)) { - $body = $this->apHttpClient->getActivityObject($query, false); + $body = $this->apHttpClient->getActivityObject($query); // the returned id could be different from the query url. $postId = $body['id']; $objects = $this->manager->findByApId($postId);