Skip to content

Commit a2696bf

Browse files
committed
wip
1 parent 9f1434f commit a2696bf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/Models/Plugin.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,14 @@ public function cacheStarsCount(): void
171171

172172
public function getStarsCountCacheKey(): string
173173
{
174-
return "plugin:{$this->slug}:stars_count";
174+
$slug = $this->slug;
175+
176+
$slug = match ($slug) {
177+
'filament-themes' => 'filament-minimal-theme',
178+
default => $slug,
179+
};
180+
181+
return "plugin:{$slug}:stars_count";
175182
}
176183

177184
public function getPriceCacheKey(): string

0 commit comments

Comments
 (0)