Skip to content

Commit

Permalink
Belt changes Option.getOr
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja authored May 14, 2024
1 parent 547d0b7 commit 1ab16e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/PaymentHelpers.res
Original file line number Diff line number Diff line change
Expand Up @@ -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: "",
})
Expand Down

0 comments on commit 1ab16e3

Please sign in to comment.