Samagra-Development / x-admin

Low-code framework for building admin platforms
MIT License
12 stars 14 forks source link

Feat: Add unmasked `phone_number` to decoded certificate #2

Open bharatkashyap opened 3 years ago

bharatkashyap commented 3 years ago

Adding decentralized ID to Digital Saathi certificate

Implementation

Abhay-86 commented 2 years ago

@bharatkashyap hello bhaiya i have added middleware fuction in certificate.js which i think is working fine but could you please guide me to find that weather i would find the tracking id?

bharatkashyap commented 2 years ago

Hey @Abhay-86! We need to make an API call to the Hasura GraphQL endpoint with a query to read the mobile number associated with the tracking key.