diff --git a/project-2-voting/web/app/api/vote/route.ts b/project-2-voting/web/app/api/vote/route.ts index 64dbe38..3f655df 100644 --- a/project-2-voting/web/app/api/vote/route.ts +++ b/project-2-voting/web/app/api/vote/route.ts @@ -18,10 +18,12 @@ export async function GET(request: Request) { { href: 'http://localhost:3000/api/vote?candidate=crunchy', label: 'Vote Crunchy', + type: "transaction" }, { href: 'http://localhost:3000/api/vote?candidate=smooth', label: 'Vote Smooth', + type: "transaction" } ], }, @@ -78,4 +80,4 @@ export async function POST(request: Request) { }); return Response.json(response,{headers: ACTIONS_CORS_HEADERS}); -} \ No newline at end of file +}