Open bharatkashyap opened 3 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?
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.
Adding decentralized ID to Digital Saathi certificate
Implementation
/certificate
handlerHASURA_ADMIN_SECRET
phone_number
to the/certificate
requestphone_number
will be added to the verifiable credential being generated here