NASER fix file upload for products and return the address

This commit is contained in:
gholak tala
2026-05-17 16:39:53 +00:00
parent 5bb4a36f87
commit 3adff03152
3 changed files with 4 additions and 4 deletions
@@ -19,8 +19,8 @@ class ProductController extends SuperController
{
public function __construct()
{
$this->with = ['file', 'price', 'default', 'sub'];
$this->with = [];
$this->with = ['file'/*, 'price', 'default', 'sub'*/];
// $this->with = [];
parent::__construct(Product::class, $this->with, ['*'], null, null, ['title']);
}
public function tableProduct(Request $request)