Skip to content

Commit

Permalink
Fix created_at on order create (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell authored Nov 29, 2024
1 parent a5f7a6f commit 0024ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Webhooks/OrderCreateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __invoke(Request $request)
if ($product) {
ImportSingleProductJob::dispatch($product, [
'quantity' => [$item->sku => $item->quantity ?? 1],
'date' => Carbon::parse($data['created_at']),
'date' => Carbon::parse($data->created_at),
])->onQueue(config('shopify.queue'));
}
}
Expand Down

0 comments on commit 0024ce4

Please sign in to comment.