From e34435755e7bef7d691d441845aef8f5dad73cd8 Mon Sep 17 00:00:00 2001 From: itsAzaria Date: Thu, 19 Feb 2026 23:21:07 +0000 Subject: [PATCH] use detatch rather than getContents for image data --- app/Services/UpdateEmoteImages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/UpdateEmoteImages.php b/app/Services/UpdateEmoteImages.php index 87a4544..60e8005 100644 --- a/app/Services/UpdateEmoteImages.php +++ b/app/Services/UpdateEmoteImages.php @@ -35,8 +35,8 @@ class UpdateEmoteImages extends Service $client = new \GuzzleHttp\Client; $response = $client->get($url); if ($response->getStatusCode() === 200) { - $imageData = $response->getBody()->getContents(); - $emote->image = $imageData; + $stream = $response->getBody()->detach(); + $emote->image = $stream; $emote->save(); } } catch (\Exception $e) {