Skip to content

Commit

Permalink
Merge pull request #875 from bakaphp/hotfix-import-channel-price
Browse files Browse the repository at this point in the history
refact: import update channel price
  • Loading branch information
kaioken authored Jan 30, 2024
2 parents 612b13f + abe7fd4 commit 219c7d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function execute(): VariantsChannels
'channels_id' => $this->channel->getId(),
];

$variantChannel = VariantsChannels::firstOrCreate(
$variantChannel = VariantsChannels::updateOrCreate(
$search,
[
'price' => $this->variantChannelDto->price ?? 0.00,
Expand Down

0 comments on commit 219c7d4

Please sign in to comment.