breaking(runnercards): shorter runnercard codes (padding to 12 was a bit tooo ambitious)

This commit is contained in:
Nicolai Ort 2023-03-15 14:39:24 +01:00
parent 3bac75e7ab
commit ffee887ddf
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

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