fix: refund
This commit is contained in:
@@ -19,7 +19,7 @@ class RefundBloc extends Bloc<RefundEvent, RefundState> {
|
||||
}
|
||||
|
||||
Future<void> _onRefundPayment(
|
||||
String paymentId,
|
||||
String orderId,
|
||||
String reason,
|
||||
int refundAmount,
|
||||
Emitter<RefundState> emit,
|
||||
@@ -27,7 +27,7 @@ class RefundBloc extends Bloc<RefundEvent, RefundState> {
|
||||
emit(const RefundState.loading());
|
||||
|
||||
final result = await _orderRemoteDatasource.refundPayment(
|
||||
paymentId: paymentId,
|
||||
orderId: orderId,
|
||||
reason: reason,
|
||||
refundAmount: refundAmount,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user