summaryrefslogtreecommitdiffstats
path: root/lib/Service/SocialApiService.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-31 14:06:39 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-30 17:19:21 +0100
commit687ab6b81d61d6a8cfa278d01f491df21ed6eb03 (patch)
tree2c15896fedb837b8ccc22c54199a06209907af56 /lib/Service/SocialApiService.php
parent8a6cd9d767311cedf925884ba0f55d648e2b8490 (diff)
fix(socialavatars): Fix HTTP client usage
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Service/SocialApiService.php')
-rw-r--r--lib/Service/SocialApiService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/SocialApiService.php b/lib/Service/SocialApiService.php
index ef0dfb83..1c6e4827 100644
--- a/lib/Service/SocialApiService.php
+++ b/lib/Service/SocialApiService.php
@@ -218,7 +218,7 @@ class SocialApiService {
foreach ($urls as $url) {
try {
- $httpResult = $this->clientService->NewClient()->get($url);
+ $httpResult = $this->clientService->newClient()->get($url);
$socialdata = $httpResult->getBody();
$imageType = $httpResult->getHeader('content-type');
if (isset($socialdata) && isset($imageType)) {