mass assignmenmika wishlistdaki mesele

This commit is contained in:
merdan 2023-01-14 17:54:32 +05:00
parent 36c416c976
commit 9b8744b58b
1 changed files with 1 additions and 1 deletions

View File

@ -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,