fix: refund

This commit is contained in:
efrilm
2025-08-06 00:53:02 +07:00
parent 37ed6686f8
commit ae4f7b06ce
5 changed files with 34 additions and 35 deletions
@@ -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,
);