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

master
Araozu 2023-11-16 09:10:32 -05:00
parent 9f5460f27f
commit 373ef5c74e
1 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,9 @@ export function generateCert(person: Person, register: Register) {
certYear: year,
certMonth: month,
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,
});
}