Fix bug with QR generation. It used an inncorrect value for the iid

This commit is contained in:
Araozu 2023-11-16 09:10:32 -05:00
parent 9f5460f27f
commit 373ef5c74e

View File

@ -141,7 +141,9 @@ export function generateCert(person: Person, register: Register) {
certYear: year, certYear: year,
certMonth: month, certMonth: month,
certDay: day, certDay: day,
certIId: register.register_code, // THIS WAS PREVIOUSLY THE SAME AS certCode. All QR codes generated before this
// was fixed are useless
certIId: register.register_id,
certCustomLabel, certCustomLabel,
}); });
} }