diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-31 14:06:39 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-11-30 17:25:07 +0000 |
commit | ede93bcb6e6d8ebe8fa326b902bdfd6c63efa1a6 (patch) | |
tree | 019dc5d7f8f854bfc313636ee4be1727e50011d6 /lib/Service/Social/XingProvider.php | |
parent | ff8cd43f62e3e423f2cd1db971b2ffd385ae0ca4 (diff) |
fix(socialavatars): Fix HTTP client usagebackport/3681/stable5.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Service/Social/XingProvider.php')
-rw-r--r-- | lib/Service/Social/XingProvider.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Service/Social/XingProvider.php b/lib/Service/Social/XingProvider.php index 78443d56..b7fc6aa6 100644 --- a/lib/Service/Social/XingProvider.php +++ b/lib/Service/Social/XingProvider.php @@ -23,17 +23,18 @@ namespace OCA\Contacts\Service\Social; +use OCP\Http\Client\IClient; use OCP\Http\Client\IClientService; class XingProvider implements ISocialProvider { - /** @var IClientService */ + /** @var IClient */ private $httpClient; /** @var string */ public $name = 'xing'; public function __construct(IClientService $httpClient) { - $this->httpClient = $httpClient->NewClient(); + $this->httpClient = $httpClient->newClient(); } /** |