Correct bulk email payment
This commit is contained in:
parent
fb4c6c082c
commit
82b4feb113
|
|
@ -254,6 +254,7 @@ Middleware<AppState> _emailPayment(PaymentRepository repository) {
|
||||||
.bulkAction(store.state.credentials, action.paymentIds,
|
.bulkAction(store.state.credentials, action.paymentIds,
|
||||||
EntityAction.emailPayment)
|
EntityAction.emailPayment)
|
||||||
.then((List<PaymentEntity> payments) {
|
.then((List<PaymentEntity> payments) {
|
||||||
|
store.dispatch(EmailPaymentSuccess());
|
||||||
action.completer.complete(null);
|
action.completer.complete(null);
|
||||||
}).catchError((Object error) {
|
}).catchError((Object error) {
|
||||||
print(error);
|
print(error);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue