feat: remove price and currency fields from frontend and backend
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Adriano Belisario
2026-05-03 20:51:49 +00:00
parent 1e513c318f
commit cac2c223dd
7 changed files with 13 additions and 104 deletions

View File

@@ -81,8 +81,6 @@ export async function PATCH(
const {
name,
description,
price,
currency,
quantity,
imageUrl,
purchaseUrls,
@@ -110,8 +108,6 @@ export async function PATCH(
if (name !== undefined) updateData.name = name;
if (description !== undefined) updateData.description = description;
if (price !== undefined) updateData.price = price;
if (currency !== undefined) updateData.currency = currency;
if (quantity !== undefined) updateData.quantity = quantity;
if (imageUrl !== undefined) updateData.imageUrl = imageUrl;
if (purchaseUrls !== undefined) updateData.purchaseUrls = purchaseUrls;

View File

@@ -82,8 +82,6 @@ export async function POST(
const {
name,
description,
price,
currency,
quantity,
imageUrl,
purchaseUrls,
@@ -128,8 +126,6 @@ export async function POST(
wishlistId: id,
name,
description: description || null,
price: price || null,
currency: currency || 'USD',
quantity: quantity || 1,
imageUrl: imageUrl || null,
purchaseUrls: purchaseUrls || null,