diff --git a/packages/Sarga/API/Http/Controllers/Products.php b/packages/Sarga/API/Http/Controllers/Products.php index e0287d3a3..4d0ce1a65 100644 --- a/packages/Sarga/API/Http/Controllers/Products.php +++ b/packages/Sarga/API/Http/Controllers/Products.php @@ -146,7 +146,7 @@ class Products extends ProductController ->where('channel', $channel) ->where('locale', $locale) ->take(10) - ->query(fn ($query) => $query->select('id','name',DB::raw('"product" as "type"' ))->orderBy('name')) + ->query(fn ($query) => $query->select('id','name',DB::raw("'product' as 'type'" ))->orderBy('name')) ->get();; return $products;