From 79b10b20ea1e0feb739fe4ff0944a7b87bddecf5 Mon Sep 17 00:00:00 2001 From: Mekan1206 Date: Mon, 4 May 2026 13:41:21 +0500 Subject: [PATCH] WIP --- app/Http/Controllers/Api/V1/Filters/FilterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/V1/Filters/FilterController.php b/app/Http/Controllers/Api/V1/Filters/FilterController.php index 61a64ae..0b34d41 100644 --- a/app/Http/Controllers/Api/V1/Filters/FilterController.php +++ b/app/Http/Controllers/Api/V1/Filters/FilterController.php @@ -54,7 +54,7 @@ class FilterController extends Controller } if ($this->shouldFilterByChannel()) { - return $this->categoriesFor($this->request->channel_id, 'category'); + return $this->categoriesFor($this->request->channel_id, 'channel'); } return Category::query()->where('is_visible', true)->ordered()->get(['id', 'parent_id', 'name']);