feat: add stuff
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
2026-10-27 23:27:56 +01:00
parent 97572fe459
commit bca6e88138
27 changed files with 885 additions and 126 deletions
+4 -1
View File
@@ -153,7 +153,10 @@ export class AdminService {
if (copies.length > 0) {
await tx.product.createMany({
data: copies.map((p) => {
const fields = { name: p.name, category: p.category, priceInCents: p.priceInCents, lowStockThreshold: p.lowStockThreshold };
const fields = {
name: p.name, category: p.category, priceInCents: p.priceInCents, buyPriceInCents: p.buyPriceInCents,
lowStockThreshold: p.lowStockThreshold, desiredStock: p.desiredStock,
};
return {
venueId,
productId: uuidv4(),