Skip to content

Commit

Permalink
move
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Oct 22, 2024
1 parent 9e9b314 commit b9baed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Marketplace/Marketplace.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public function releases($package)
$uri = "packages/$package/releases";

return Cache::rememberWithExpiration("marketplace-$uri", function () use ($uri) {
try {
$fallback = [5 => collect()];
$fallback = [5 => collect()];

try {
if (! $response = Client::get($uri)) {
return $fallback;
}
Expand Down

0 comments on commit b9baed3

Please sign in to comment.