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; }