Skip to content

Commit

Permalink
fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
bahram1249 committed Mar 8, 2024
1 parent 1e445da commit 18b5f30
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ export class InventoryValidationService {
.filter({ id: inventoryDto.guaranteeId })
.filter(
Sequelize.where(
Sequelize.fn('isnull', 'ECGuarantee.isDeleted', 0),
Sequelize.fn(
'isnull',
Sequelize.col('ECGuarantee.isDeleted'),
0,
),
{
[Op.eq]: 0,
},
Expand Down

0 comments on commit 18b5f30

Please sign in to comment.