From 35b618adee2f3641c642ad87d9903ab476272c3d Mon Sep 17 00:00:00 2001 From: James Chartrand Date: Thu, 20 Feb 2025 09:49:09 -0500 Subject: [PATCH] fix request params --- app/collect/page.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/collect/page.tsx b/app/collect/page.tsx index 29a95b2..7c0a5b8 100644 --- a/app/collect/page.tsx +++ b/app/collect/page.tsx @@ -1,6 +1,6 @@ 'use client' -import AcmeLogo from '@/app/ui/dcc-logo'; +import DCCLogo from '@/app/ui/dcc-logo'; import { Suspense } from 'react'; import { useSearchParams } from 'next/navigation' import QRCode from "react-qr-code"; @@ -9,8 +9,8 @@ export default function Page() { const searchParams = useSearchParams() - const exchangeId = searchParams.get('exchange') - const transactionId = searchParams.get('transaction') + const exchangeId = searchParams.get('exchangeId') + const transactionId = searchParams.get('transactionId') const deepLink = `https://lcw.app/request.html?issuer=issuer.example.com&auth_type=bearer&challenge=50991c0d-e033-49c4-86aa-7f3620cf6937&vc_request_url=https://issuer.dcconsortium.org/exchange/${exchangeId}/${transactionId}` @@ -19,11 +19,12 @@ export default function Page() {
- +
Collect your credential!!!!!! Deep link and QR and mayber chapi will go here. +

Add your credential to the Learner Credential Wallet
@@ -31,5 +32,3 @@ export default function Page() { ); } - -// \ No newline at end of file