File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -781,9 +781,7 @@ export default class ChangeRequestsService {
781781 descriptionBullets : true ,
782782 changeRequests : {
783783 where : {
784- dateDeleted : {
785- not : null
786- }
784+ dateDeleted : null
787785 } ,
788786 include : { changes : true }
789787 }
@@ -883,7 +881,7 @@ export default class ChangeRequestsService {
883881 where : {
884882 otherReimbursementProductReasonId : otherReasonId
885883 } ,
886- include : { changeRequests : { where : { dateDeleted : { not : null } } , include : { changes : true } } }
884+ include : { changeRequests : { where : { dateDeleted : null } , include : { changes : true } } }
887885 } ) ;
888886
889887 if ( ! category ) throw new NotFoundException ( 'Reimbursement Product Other Reason' , otherReasonId ) ;
@@ -946,7 +944,7 @@ export default class ChangeRequestsService {
946944 where : {
947945 accountCodeId
948946 } ,
949- include : { changeRequests : { where : { dateDeleted : { not : null } } , include : { changes : true } } }
947+ include : { changeRequests : { where : { dateDeleted : null } , include : { changes : true } } }
950948 } ) ;
951949
952950 if ( ! accountCode ) throw new NotFoundException ( 'Account Code' , accountCodeId ) ;
You can’t perform that action at this time.
0 commit comments