diff --git a/API/Controllers/TeamsController.cs b/API/Controllers/TeamsController.cs index 7ef3ca6..348d7ae 100644 --- a/API/Controllers/TeamsController.cs +++ b/API/Controllers/TeamsController.cs @@ -16,8 +16,8 @@ public class TeamsController(ITeamService service, ITacticService tactics,IConte public record CreateTeamRequest( [Name] string Name, [Url] string Picture, - [RegularExpression("^#[0-9A-F]{6}$")] string FirstColor, - [RegularExpression("^#[0-9A-F]{6}$")] string SecondColor + [RegularExpression("^#[0-9A-Fa-f]{6}$")] string FirstColor, + [RegularExpression("^#[0-9A-Fa-f]{6}$")] string SecondColor ); [HttpPost("/teams")]