feat: ignore sync delete data from POS data
continuous-integration/drone/push Build is passing Details

pull/83/head
Firman Ramdhani 2024-09-10 17:25:59 +07:00
parent 6e5b19380b
commit 6fbb2e33b2
1 changed files with 6 additions and 5 deletions

View File

@ -61,11 +61,12 @@ export class PosTransactionHandler implements IEventHandler<ChangeDocEvent> {
// jika delete // jika delete
if (data._deleted ?? false) { if (data._deleted ?? false) {
await this.dataService.deleteById( // FIXME => This comment for ignore delete from POS data
queryRunner, // await this.dataService.deleteById(
TransactionModel, // queryRunner,
data._id, // TransactionModel,
); // data._id,
// );
} }
// jika update // create // jika update // create