diff --git a/app/controllers/avatars.php b/app/controllers/avatars.php index 8d6dcde882..d0123184e8 100644 --- a/app/controllers/avatars.php +++ b/app/controllers/avatars.php @@ -1,6 +1,6 @@ get('/v1/avatars/image') ->label('sdk.method', 'getImage') ->label('sdk.description', '/docs/references/avatars/get-image.md') ->action( - function ($url, $width, $height) use ($response, $request, $version) { + function ($url, $width, $height) use ($response) { $quality = 80; $output = 'png'; $date = date('D, d M Y H:i:s', time() + (60 * 60 * 24 * 45)).' GMT'; // 45 days cache @@ -199,7 +199,7 @@ $utopia->get('/v1/avatars/favicon') ->label('sdk.method', 'getFavicon') ->label('sdk.description', '/docs/references/avatars/get-favicon.md') ->action( - function ($url) use ($response, $request, $version) { + function ($url) use ($response, $version) { $width = 56; $height = 56; $quality = 80;