This commit is contained in:
root
2025-12-28 02:23:51 +01:00
parent e75e4f08a9
commit 312810bb56
3 changed files with 10 additions and 9 deletions

View File

@@ -145,7 +145,8 @@ export async function PUT(
// Fetch updated drop
const [rows] = await pool.execute('SELECT * FROM drops WHERE id = ?', [id])
const drop = rows[0] as any
const drops = rows as any[]
const drop = drops[0]
// Calculate fill
const [salesRows] = await pool.execute(