wip
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user