@@ -42,7 +42,12 @@ export class ResponseRunnerCard {
|
||||
this.id = card.id;
|
||||
if (!card.runner) { this.runner = null }
|
||||
else { this.runner = card.runner.toResponse(); }
|
||||
this.code = card.code;
|
||||
try {
|
||||
this.code = card.code;
|
||||
} catch (error) {
|
||||
this.code = "0000000000000"
|
||||
}
|
||||
|
||||
this.enabled = card.enabled;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user