Skip to content

Commit

Permalink
Delete transactions upon deleting sip
Browse files Browse the repository at this point in the history
  • Loading branch information
praslnx8 committed Aug 3, 2024
1 parent 79ded21 commit b0da574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/domain/services/sip_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class SipService {
Future<void> deleteSIP({required final int id}) => _transactionApi
.deleteBy(sipId: id)
.then((_) => _sipApi.deleteBy(id: id))
.then((value) => _transactionApi.deleteBy(sipId: id))
.then((_) => {});

Future<void> performSipTransactions() => _sipApi
Expand Down

0 comments on commit b0da574

Please sign in to comment.