not work on xiaomi
This commit is contained in:
+4
-2
@@ -11,7 +11,8 @@ const NINETY_DAYS_IN_S = 3600 * 24 * 30 * 3;
|
||||
let excelUtil = new ExcelUtil();
|
||||
let collectionName = formatDate(new Date())
|
||||
// device_to_excludes = ["47e7e36b", "e30eb015"]
|
||||
device_to_excludes = ["47e7e36b"]
|
||||
// device_to_excludes = ["47e7e36b"]
|
||||
device_to_excludes = []
|
||||
|
||||
async function filterAlreadyBookedContacts(contactList) {
|
||||
let alreadyBookedContacts = await mongoManager.getAllSuccessfulItemsForDay(collectionName);
|
||||
@@ -117,7 +118,8 @@ async function startBook(contactPojo, device, selectedStore, audioAnalyse, alert
|
||||
if (await needToBook(contactPojo, mongoManager)) {
|
||||
let commandor = new CommandorPage(contactPojo, device, mongoManager, selectedStore, audioAnalyse, alertBeep);
|
||||
//read contacts form excel
|
||||
return await commandor.loadPage();
|
||||
let port = 9222;
|
||||
return await commandor.loadPage(port);
|
||||
} else {
|
||||
console.log("do not send request --> skip")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user