update colors regex
continuous-integration/drone/push Build is passing Details

master
Maxime BATISTA 8 months ago
parent 107c9f5282
commit e81b7dd24d

@ -16,8 +16,8 @@ public class TeamsController(ITeamService service, ITacticService tactics,IConte
public record CreateTeamRequest( public record CreateTeamRequest(
[Name] string Name, [Name] string Name,
[Url] string Picture, [Url] string Picture,
[RegularExpression("^#[0-9A-F]{6}$")] string FirstColor, [RegularExpression("^#[0-9A-Fa-f]{6}$")] string FirstColor,
[RegularExpression("^#[0-9A-F]{6}$")] string SecondColor [RegularExpression("^#[0-9A-Fa-f]{6}$")] string SecondColor
); );
[HttpPost("/teams")] [HttpPost("/teams")]

Loading…
Cancel
Save