diff --git a/whatsapp-web.js/src/userInteraction/messages.js b/whatsapp-web.js/src/userInteraction/messages.js index cf19e39..c5cefbe 100644 --- a/whatsapp-web.js/src/userInteraction/messages.js +++ b/whatsapp-web.js/src/userInteraction/messages.js @@ -4,7 +4,7 @@ const logic = require("../businessLogic/logic"); const { Website } = require("../models/website"); const { Product } = require('../models/product'); -var selected_product = new Product;// Will keep track of the selected product +var selected_product = null;// Will keep track of the selected product var selected_website = null; // Selected website. ///////////