This commit is contained in:
Pig Fang 2019-07-30 14:37:31 +08:00
parent 67bcfc65a5
commit 73beea6af4

View File

@ -90,7 +90,7 @@ class UserController extends Controller
protected function getStorageUsed(User $user)
{
return Texture::where('uploader', $user->uid)->select('size')->sum('size') ?: 0;
return Texture::where('uploader', $user->uid)->select('size')->sum('size');
}
/**