website cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ApplyPenaltyCommandDTO } from '../../types';
|
||||
import { ApplyPenaltyCommandDTO } from '../../types/generated/ApplyPenaltyCommandDTO';
|
||||
|
||||
export type PenaltyType = 'time_penalty' | 'grid_penalty' | 'points_deduction' | 'disqualification' | 'warning' | 'license_points';
|
||||
|
||||
@@ -48,6 +48,7 @@ export class ProtestDecisionCommandModel {
|
||||
raceId,
|
||||
driverId,
|
||||
stewardId,
|
||||
enum: this.penaltyType, // Use penaltyType as enum
|
||||
type: this.penaltyType,
|
||||
value: this.getPenaltyValue(),
|
||||
reason,
|
||||
|
||||
Reference in New Issue
Block a user