From 1ab16e3bce28fcc623d1417fbf2406016c81ed3a Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Tue, 14 May 2024 14:22:48 +0530 Subject: [PATCH] Belt changes Option.getOr --- src/Utilities/PaymentHelpers.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utilities/PaymentHelpers.res b/src/Utilities/PaymentHelpers.res index 006023c66..5d7939698 100644 --- a/src/Utilities/PaymentHelpers.res +++ b/src/Utilities/PaymentHelpers.res @@ -653,7 +653,7 @@ let rec intentCall = ( ]) } } else if intent.nextAction.type_ === "display_voucher_information" { - let voucherData = intent.nextAction.voucher_details->Belt.Option.getWithDefault({ + let voucherData = intent.nextAction.voucher_details->Option.getOr({ download_url: "", reference: "", })