Skip to content

Commit

Permalink
Merge pull request #3820 from Roardom/fix-top-10-to
Browse files Browse the repository at this point in the history
(Fix) Wrong variable used in top 10 custom interval cache
  • Loading branch information
HDVinnie committed May 10, 2024
2 parents 8ffacf5 + eb6176a commit c225261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Livewire/Top10.php
Expand Up @@ -75,7 +75,7 @@ final public function works(): Collection
$this->validate();

return cache()->remember(
'top10-'.$this->interval.'-'.($this->from ?? '').'-'.($this->to ?? '').'-'.$this->metaType,
'top10-'.$this->interval.'-'.($this->from ?? '').'-'.($this->until ?? '').'-'.$this->metaType,
3600,
fn () => Torrent::query()
->when(
Expand Down

0 comments on commit c225261

Please sign in to comment.