refactor: swap auth()->user()->id to auth()->id()

This commit is contained in:
Roardom
2023-06-22 09:49:25 +00:00
parent aef482682b
commit d19bb4f2ea
22 changed files with 32 additions and 32 deletions

View File

@@ -88,7 +88,7 @@ class SimilarTorrentController extends Controller
break;
}
$personalFreeleech = cache()->get('personal_freeleech:'.auth()->user()->id);
$personalFreeleech = cache()->get('personal_freeleech:'.auth()->id());
return view('torrent.similar', [
'meta' => $meta,