new valid setences

This commit is contained in:
Lei PAN
2023-12-14 23:20:24 +01:00
parent b6dc3824cf
commit 50785b58c7
2 changed files with 11 additions and 5 deletions
+6
View File
@@ -715,7 +715,13 @@ class CommandorPage {
let reserve = ReserveResultPojo.create_from_contact(this.contact, id, url, this.choosedStore, publishType); let reserve = ReserveResultPojo.create_from_contact(this.contact, id, url, this.choosedStore, publishType);
reserve.source_from = this.device.model(); reserve.source_from = this.device.model();
await this.mongoManager.saveReserveToDb(reserve.to_mongo_dict()) await this.mongoManager.saveReserveToDb(reserve.to_mongo_dict())
if (!this.page.isClosed()) {
try {
await this.page.close(); await this.page.close();
} catch (e) {
console.log(e)
}
}
// await this.deleteFromBlackList() // await this.deleteFromBlackList()
this.isTerminated = true this.isTerminated = true
} }
+2 -2
View File
@@ -15,8 +15,8 @@ function delay(delayInMs) {
const NO_INTERNET_FR = "Aucun accés a Internet" const NO_INTERNET_FR = "Aucun accés a Internet"
const NO_INTERNET_FR_2 = "Aucun accès à Internet" const NO_INTERNET_FR_2 = "Aucun accès à Internet"
const BRAVE_VPN_SKIP = "Pare-feu + VPN Brave" const BRAVE_VPN_SKIP = "Pare-feu + VPN Brave"
const MESSAGE_URL_VALIDATION_FR = "envoyé un lien par e-mail." const MESSAGE_URL_VALIDATION_FR = "Vous recevrez un email de validation"
const MESSAGE_URL_VALIDATION_FR_2 = "un lien par e-mail" const MESSAGE_URL_VALIDATION_FR_2 = "Merci de votre intérêt pour notre Maison"
const SSL_CERT_ERROR = " Votre connexion n'est pas privée" const SSL_CERT_ERROR = " Votre connexion n'est pas privée"
const MESSAGE_URL_VALIDATION_EN = "Please click on the link we sent by email" const MESSAGE_URL_VALIDATION_EN = "Please click on the link we sent by email"
const CHOOSE_POSITION_GOOGLE_FR = " Choisir la position pour les résultats de recherche" const CHOOSE_POSITION_GOOGLE_FR = " Choisir la position pour les résultats de recherche"