breaking(runnercards): shorter runnercard codes (padding to 12 was a bit tooo ambitious)
This commit is contained in:
parent
3bac75e7ab
commit
ffee887ddf
@ -70,7 +70,7 @@ export class RunnerCard {
|
||||
if (id.length > 11) {
|
||||
throw new RunnerCardIdOutOfRangeError();
|
||||
}
|
||||
while (id.length < 11) { id = '0' + id; }
|
||||
while (id.length < 6) { id = '0' + id; }
|
||||
id = '2' + id;
|
||||
|
||||
return id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user