Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Oct 6, 2024
1 parent d9e9f11 commit 5161c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/as/finish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
const patient_doc = await patients.get(request_doc.email);
if (objectPath.has(patient_doc, 'vc')) {
objectPath.set(request_doc, 'vc', patient_doc.vc);
check_privileges.push({location: a, privilege: request_doc.email});
}
check_privileges.push({location: a, privilege: request_doc.email});
}
// check npi
if (check_privileges.length === 0) {
Expand Down

0 comments on commit 5161c9d

Please sign in to comment.