@@ -274,7 +274,7 @@ class tools {
multipleStatements: true
});
const [rows] = await connection.execute(
- `SELECT * FROM video_applet_product_${butler_id} WHERE product_id = ${product_id} AND main_id = ${main_id} LIMIT 1`
+ `SELECT * FROM video_applet_product_${butler_id} WHERE product_id = '${product_id}' AND main_id = ${main_id} LIMIT 1`
);
if(rows.length<=0){