From 48a25d4c4b280e60620992373abae024284b939c Mon Sep 17 00:00:00 2001 From: Kevin Monisit Date: Sun, 27 Oct 2024 12:57:29 -0400 Subject: [PATCH] message --- app/dashboard/raffle/page.tsx | 1 + app/lib/actions.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/app/dashboard/raffle/page.tsx b/app/dashboard/raffle/page.tsx index 4015b81..b233ee5 100644 --- a/app/dashboard/raffle/page.tsx +++ b/app/dashboard/raffle/page.tsx @@ -163,6 +163,7 @@ export default function RafflePage() { })); const response = await UpdateBuyIns(buyIns); + console.log(response.response); if (response.error) { throw new Error(response.error); } diff --git a/app/lib/actions.ts b/app/lib/actions.ts index ecca30b..dd5185b 100644 --- a/app/lib/actions.ts +++ b/app/lib/actions.ts @@ -873,6 +873,7 @@ export async function UpdateBuyIns( console.log(resJSON); if (res.status !== 200) { resp.error = 'Error Updating Buy-Ins'; + resp.response = resJSON; } else { resp.response = resJSON; }