Fix bug with QR generation. It used an inncorrect value for the iid
This commit is contained in:
parent
9f5460f27f
commit
373ef5c74e
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user