diff --git a/src/game/game.dto.ts b/src/game/game.dto.ts index 5549aa0f06417670aae943595d15a54d5dcdeff1..913b6c0f76637ecc94c82c8853cb5428e411f06d 100644 --- a/src/game/game.dto.ts +++ b/src/game/game.dto.ts @@ -43,7 +43,8 @@ export class GameDTO { @ValidateNested() @Type(() => FactionDTO) factions?: FactionDTO[]; - @Allow() + @ValidateNested() + @Type(() => FlagboxDTO) objective_points?: FlagboxDTO[]; }