Skip to content

Commit

Permalink
used abha in place of JSON.parse(value).
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamprakash123 committed Oct 3, 2023
1 parent 27d2d7e commit ebb2230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/ABDM/LinkABHANumberModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ebb2230

Please sign in to comment.