From 6cdb63986fa74faa235f0dc7da3277183e660eee Mon Sep 17 00:00:00 2001 From: Michael Jolley Date: Mon, 2 Dec 2024 14:35:40 -0600 Subject: [PATCH] Adding country to giving-form --- src/components/giving/GivingForm.astro | 10 ++++++++++ src/pages/api/auth/register.ts | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/components/giving/GivingForm.astro b/src/components/giving/GivingForm.astro index 23d8327..9acfd6c 100644 --- a/src/components/giving/GivingForm.astro +++ b/src/components/giving/GivingForm.astro @@ -104,6 +104,16 @@ const { user } = Astro.props; required />

+

+
+ +


{ const city = form.get("city"); const state = form.get("state"); const zip = form.get("zip"); + const country = form.get("country"); const tshirt = form.get("tshirt"); await registerSub({ @@ -40,6 +41,7 @@ export const POST: APIRoute = async ({ request, cookies, redirect }) => { city, state, zip, + country, tshirt, });