test check blacklist
This commit is contained in:
@@ -371,6 +371,7 @@ class CommandorPage {
|
||||
let reserve = ReserveResultPojo.create_from_contact(this.contact, id, this.page.url(), this.choosedStore, publishType);
|
||||
reserve.source_from = this.device.model();
|
||||
await this.mongoManager.saveReserveToDb(reserve.to_mongo_dict())
|
||||
await this.deleteFromBlackList()
|
||||
this.isTerminated = true
|
||||
}
|
||||
|
||||
@@ -379,6 +380,10 @@ class CommandorPage {
|
||||
this.isTerminated = true
|
||||
}
|
||||
|
||||
async deleteFromBlackList() {
|
||||
await this.mongoManager.removeFromBlackList(this.contact)
|
||||
}
|
||||
|
||||
async getErrors() {
|
||||
if (this.page.url() === BLANK_URL) {
|
||||
this.isTerminated = true;
|
||||
|
||||
Reference in New Issue
Block a user