mass assignmenmika wishlistdaki mesele
This commit is contained in:
parent
36c416c976
commit
9b8744b58b
|
|
@ -54,7 +54,7 @@ class Wishlists extends WishlistController
|
|||
]);
|
||||
}
|
||||
|
||||
$product = app(ProductFlatRepository::class)->findOneBy(['product_id' => $id]);
|
||||
$product = app(ProductFlatRepository::class)->findOneWhere(['product_id' => $id]);
|
||||
|
||||
$wishlistItem = $this->wishlistRepository->create([
|
||||
'channel_id' => core()->getCurrentChannel()->id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue