Skip to content

Commit

Permalink
fix template api for public list (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
formsdev authored Nov 10, 2023
1 parent 9e2bf1c commit 6ffe614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/TemplateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function index(Request $request)
}
})
->when(!Auth::check(), function ($query) {
return $query->publiclyListed();
$query->where('publicly_listed', true);
})
->orderByDesc('created_at')
->get();
Expand Down

0 comments on commit 6ffe614

Please sign in to comment.