tabelle ai_model_api_provider entfernt
This commit is contained in:
@@ -11,11 +11,11 @@ class StyleController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$styles = Style::with(['aiModel.apiProviders'])
|
||||
$styles = Style::with(['aiModel.primaryApiProvider'])
|
||||
->where('enabled', true)
|
||||
->whereHas('aiModel', function ($query) {
|
||||
$query->where('enabled', true);
|
||||
$query->whereHas('apiProviders', function ($query) {
|
||||
$query->whereHas('primaryApiProvider', function ($query) {
|
||||
$query->where('enabled', true);
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user