texts
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user