Skip to content

Commit 65ec372

Browse files
fix: use correct issued date when fetching market orders (#440)
1 parent b0afaab commit 65ec372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/Market/Orders.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function handle()
8888
'duration' => $order->duration,
8989
'is_buy_order' => $order->is_buy_order,
9090
'issued' => $issued,
91-
'expiry' => $issued->addDays($order->duration),
91+
'expiry' => $issued->copy()->addDays($order->duration),
9292
'location_id' => $order->location_id,
9393
'min_volume' => $order->min_volume,
9494
'price' => $order->price,

0 commit comments

Comments
 (0)