Skip to content

Commit

Permalink
resolved lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ketan-canyon committed Oct 15, 2024
1 parent ba6fc89 commit 39b0b78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function show(KnowledgeBaseCategory $category, KnowledgeBaseItem $article
{
$article->increment('portal_view_count');

if (! empty($article) && $article->public === true) {
if ($article->public === true) {
return response()->json([
'category' => KnowledgeBaseCategoryData::from([
'id' => $category->getKey(),
Expand Down

0 comments on commit 39b0b78

Please sign in to comment.