whops .. wrong legacy endpoint

This commit is contained in:
Philipp 2022-11-09 22:39:36 +01:00
parent 815d8975e6
commit 6d7cfc8450
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -125,7 +125,7 @@ class MatchInterests extends BaseModule
$result = $this->httpClient->post($server . '/search/user/tags', $searchParameters); $result = $this->httpClient->post($server . '/search/user/tags', $searchParameters);
if (!$result->isSuccess()) { if (!$result->isSuccess()) {
// try legacy endpoint // try legacy endpoint
$result = $this->httpClient->post($server . '/contact/search/tags', $searchParameters); $result = $this->httpClient->post($server . '/msearch', $searchParameters);
if (!$result->isSuccess()) { if (!$result->isSuccess()) {
$this->logger->notice('Search-Endpoint not available for server.', ['server' => $server]); $this->logger->notice('Search-Endpoint not available for server.', ['server' => $server]);
continue; continue;