This commit is contained in:
2026-03-17 16:55:53 +05:00
parent 7eefafa805
commit 0fe90e6b0e
3 changed files with 5 additions and 15 deletions

View File

@@ -15,9 +15,6 @@ class ChannelRepository
*/
public static function values(): array|Collection
{
return CacheRepository::make(
name: self::CHANNEL_CACHE_NAME_FOR_NOVA,
value: fn () => Channel::where('is_visible', true)->pluck('name', 'id')
);
return Channel::where('is_visible', true)->pluck('name', 'id');
}
}