correction on save result

This commit is contained in:
Lei PAN
2023-04-21 15:56:07 +02:00
parent 087a847d98
commit 29e8448f0f
+1 -1
View File
@@ -439,7 +439,7 @@ class CommandorPage {
return return
} }
// save to mongoDb // save to mongoDb
let reserve = ReserveResultPojo.create_from_contact(this.contact, id, this.page.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())
await this.deleteFromBlackList() await this.deleteFromBlackList()