Updated default length

This commit is contained in:
2023-03-15 14:44:19 +01:00
parent 92517e3653
commit ea87cc793b

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; }