Compare commits

..

2 Commits

Author SHA1 Message Date
firmanr 40aafaf571 Merge pull request 'feat: ignore sync delete data from POS data' (#83) from feat/adjustment-report into development
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Reviewed-on: #83
2024-09-10 10:26:19 +00:00
Firman Ramdhani 6fbb2e33b2 feat: ignore sync delete data from POS data
continuous-integration/drone/push Build is passing Details
2024-09-10 17:25:59 +07:00
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