Fix generating avatar with specific size
This commit is contained in:
parent
4b553c3c92
commit
6c31b3465f
|
|
@ -139,7 +139,7 @@ class TextureController extends Controller
|
|||
$user = $users->get(base64_decode($base64_email), 'email');
|
||||
|
||||
if ($user) {
|
||||
return $this->avatarByTid($user->getAvatarId());
|
||||
return $this->avatarByTid($user->getAvatarId(), $size);
|
||||
}
|
||||
|
||||
return response()->file(storage_path('static_textures/avatar.png'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user