aboutsummaryrefslogtreecommitdiff
path: root/API
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-10 18:57:42 +0200
committertranstrike <transtrike@gmail.com>2020-12-10 18:57:42 +0200
commit0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750 (patch)
treef3f7e801cf44904303633991c6deaa10cfb17d59 /API
parente2171a923ab95ba031c08fe068a7e3ed73d0193d (diff)
downloadDevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.tar
DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.tar.gz
DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.zip
FINALLY AUTOMAPPER SHIT WORKINGGGGG!!!
Diffstat (limited to 'API')
-rw-r--r--API/Startup.cs10
1 files changed, 1 insertions, 9 deletions
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<User, UserDTO>();
- // cfg.CreateMap<UserDTO, User>();
- // }));
-
-
}
}
}