From 0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750 Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 10 Dec 2020 18:57:42 +0200 Subject: FINALLY AUTOMAPPER SHIT WORKINGGGGG!!! --- API/Startup.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'API') diff --git a/API/Startup.cs b/API/Startup.cs index 087b523..dbe8fdd 100644 --- a/API/Startup.cs +++ b/API/Startup.cs @@ -41,7 +41,7 @@ namespace API { options.User.RequireUniqueEmail = true; - // options.Password.RequiredLength = 5; + options.Password.RequiredLength = 5; }); services.AddSwaggerGen(c => @@ -76,14 +76,6 @@ namespace API { endpoints.MapControllers(); }); - - // Mapper configuration = new Mapper(new MapperConfiguration(cfg => - // { - // cfg.CreateMap(); - // cfg.CreateMap(); - // })); - - } } } -- cgit v1.2.3