Fix RN and dart snippets

This commit is contained in:
Ross Savage
2023-11-27 14:32:04 +01:00
parent 530c687322
commit 2c284189f2
2 changed files with 5 additions and 3 deletions

View File

@@ -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
}