Compare commits

..

No commits in common. "40aafaf571dfaa12dbe681ec160ab333bafdd70f" and "b20385daccb59bf11ef976ac5249ffadee9ce987" have entirely different histories.

1 changed files with 5 additions and 6 deletions

View File

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