Correct bulk email payment

This commit is contained in:
Hillel Coren 2021-04-18 21:49:59 +03:00
parent fb4c6c082c
commit 82b4feb113
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ Middleware<AppState> _emailPayment(PaymentRepository repository) {
.bulkAction(store.state.credentials, action.paymentIds,
EntityAction.emailPayment)
.then((List<PaymentEntity> payments) {
store.dispatch(EmailPaymentSuccess());
action.completer.complete(null);
}).catchError((Object error) {
print(error);