Updated default length

This commit is contained in:
Nicolai Ort 2023-03-15 14:44:19 +01:00
parent 92517e3653
commit ea87cc793b
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -67,7 +67,7 @@ export class RunnerCard {
private get paddedId(): string {
let id: string = this.id.toString();
if (id.length > 11) {
if (id.length > 6) {
throw new RunnerCardIdOutOfRangeError();
}
while (id.length < 6) { id = '0' + id; }