79221943

Date: 2024-11-25 06:54:05
Score: 1
Natty:
Report link

Please add second WHERE:

$categories = Category::where('user_id', $user_id)
                      ->where('status', 1)
                      ->get();

In this code we use this code ->where('status', 1) as second where please modify according to your code

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Enam Ali