Update ProfileController, fix atom feed cache ttl. Fixes #5093

pull/5094/head
Daniel Supernault 2 years ago
parent e03e7c0d73
commit 921e29659f
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -269,7 +269,7 @@ class ProfileController extends Controller
abort_if($aiCheck, 404);
$enabled = Cache::remember('profile:atom:enabled:'.$profile['id'], 84600, function () use ($profile) {
$enabled = Cache::remember('profile:atom:enabled:'.$profile['id'], 86400, function () use ($profile) {
$uid = User::whereProfileId($profile['id'])->first();
if (! $uid) {
return false;

Loading…
Cancel
Save