From fd7d1ffd47aa77631440a4e0713333d21b1529a6 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sun, 9 Mar 2025 23:12:54 +0100 Subject: [PATCH] products -> removes id from POST --- src/routes/api/v1/products/products.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/api/v1/products/products.ts b/src/routes/api/v1/products/products.ts index 4f49893..ef661eb 100644 --- a/src/routes/api/v1/products/products.ts +++ b/src/routes/api/v1/products/products.ts @@ -86,7 +86,6 @@ async function post(req: Request, res: Response) { await db.products .create({ data: { - id: value.id, gtin: value.gtin, name: value.name, price: value.price,