diff --git a/api/db/db.js b/api/db/db.js index 49bfb23..6d9e123 100644 --- a/api/db/db.js +++ b/api/db/db.js @@ -19,7 +19,7 @@ async function connect() { async function getProducts() { const conn = await connect(); - const [rows] = await conn.query('CALL getProduct("2024-01-30", "08001")'); + const [rows] = await conn.query('CALL catalogue_get("2024-01-30", "08001")'); return rows; }