From ebb2230e15988c32e5c3cf916b287da05aeb2677 Mon Sep 17 00:00:00 2001 From: Shyam prakash Date: Tue, 3 Oct 2023 18:20:42 +0530 Subject: [PATCH] used abha in place of JSON.parse(value). --- src/Components/ABDM/LinkABHANumberModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/ABDM/LinkABHANumberModal.tsx b/src/Components/ABDM/LinkABHANumberModal.tsx index 00a0637fa3f..5568e1293a1 100644 --- a/src/Components/ABDM/LinkABHANumberModal.tsx +++ b/src/Components/ABDM/LinkABHANumberModal.tsx @@ -174,7 +174,7 @@ const ScanABHAQRSection = ({ try { const abha = JSON.parse(value); const { res, data } = await request(routes.abha.linkViaQR, { - body: { ...JSON.parse(value), patientId }, + body: { ...abha, patientId }, }); if (res?.status === 200 || res?.status === 202) {