Refactor code for consistency and clarity; update seeder comments, enhance error handling, and improve API routes. Added 'original' field to ProductMediaResource and adjusted various formatting issues across multiple files.

This commit is contained in:
Mekan1206 committed 2026-02-20 15:33:29 +05:00
1 parent a8599d9c79
commit 1e84ceab3c
27 files changed
+314 -51

No files matched your search

+4 -4
View File
@@ -52,10 +52,10 @@ public function execute(User $user, array $data): Order
'stock' => $stock,
]);
} else {
warn('Product has no inventory record', json_encode([
'product_id' => $cart->product_id,
'order_id' => $order->id,
]));
warn('Product has no inventory record', json_encode([
'product_id' => $cart->product_id,
'order_id' => $order->id,
]));
}
});