mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Fix RN and dart snippets
This commit is contained in:
@@ -11,6 +11,8 @@ Future<void> healthCheckStatus() async {
|
||||
Future<void> reportPaymentFailure() async {
|
||||
// ANCHOR: report-payment-failure
|
||||
String paymentHash = "...";
|
||||
await BreezSDK().reportIssue(ReportIssueRequest.paymentFailure(paymentHash: paymentHash));
|
||||
await BreezSDK().reportIssue(
|
||||
req: ReportIssueRequest.paymentFailure(
|
||||
data: ReportPaymentFailureDetails(paymentHash: paymentHash)));
|
||||
// ANCHOR_END: report-payment-failure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user