diff --git a/frontend/src/services/api.ts b/frontend/src/services/api.ts index a2a6967..7146117 100644 --- a/frontend/src/services/api.ts +++ b/frontend/src/services/api.ts @@ -251,8 +251,6 @@ export const stockApi = { */ updateStock: async (req: {stockId: number, amount: number, price: number, lastUpdate: string, buyDate: string, expDate: string}): Promise<{ result: boolean; message: string }> => { - - const response = await fetch(`${API_BASE_URL}/api/stocks/update`, { method: 'PUT', headers: getHeaders(),