Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -12,7 +12,7 @@ exports.generateQrCode_prescribe = async ({ medicine, dailyDosage, totalDosage, | ... | @@ -12,7 +12,7 @@ exports.generateQrCode_prescribe = async ({ medicine, dailyDosage, totalDosage, |
12 | try { | 12 | try { |
13 | await QrCode.toFile( | 13 | await QrCode.toFile( |
14 | directory + '/' + qrCodeFileName, | 14 | directory + '/' + qrCodeFileName, |
15 | - `${medicine.name}/${medicine.medicineId}/${dailyDosage}/${totalDosage}/${patientId}/${doctorId}`, | 15 | + `${medicine.medicineId}/${dailyDosage}/${totalDosage}/${doctorId}/${patientId}/${medicine.name}`, |
16 | { | 16 | { |
17 | color : { | 17 | color : { |
18 | dark : '#337DFF', | 18 | dark : '#337DFF', | ... | ... |
-
Please register or login to post a comment