Skip to content

Commit

Permalink
fix children method
Browse files Browse the repository at this point in the history
  • Loading branch information
MoamenEltouny authored Nov 22, 2021
1 parent 513f9ea commit 1305514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Models/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function children()
'category_id',
'id',
'id',
'categorizable_id'
);
'categorizable_id',
)->where('categorizables.categorizable_type', '=', static::class)->select('categories.*');
}
}

0 comments on commit 1305514

Please sign in to comment.