From 6d2d79ccdf2c5eedcb292ba00e9904bfabce67be Mon Sep 17 00:00:00 2001 From: Kadir Kirisci <1120278+K2adir@users.noreply.github.com> Date: Fri, 27 Dec 2024 08:36:03 -0500 Subject: [PATCH] Update stripe.ts typo --- src/lib/stripe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/stripe.ts b/src/lib/stripe.ts index 5b3d083..684e17e 100644 --- a/src/lib/stripe.ts +++ b/src/lib/stripe.ts @@ -6,7 +6,7 @@ import { } from '@stripe/stripe-react-native'; const fetchPaymentSheetParams = async (amount: number) => { - const { data, errpr } = await supabase.functions.invoke('payment-sheet', { + const { data, error } = await supabase.functions.invoke('payment-sheet', { body: { amount }, }); if (data) {