Skip to content

Commit

Permalink
Removed leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
spitfire305 committed Jan 28, 2025
1 parent 6c9ad50 commit d15337f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/Services/Caches/CharacterCacheService.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function pronounSuggestion(): array
{
$key = $this->pronounSuggestionKey();
if (Cache::has($key)) {
//return Cache::get($key);
return Cache::get($key);
}

$data = Character::select(DB::raw('pronouns, MAX(created_at) as cmat'))
Expand All @@ -48,8 +48,6 @@ public function pronounSuggestion(): array
->take(10)
->pluck('pronouns')
->all();
$data[] = 'ass';


Cache::put($key, $data, 24 * 3600);
return $data;
Expand Down

0 comments on commit d15337f

Please sign in to comment.