diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-10 18:57:42 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-10 18:57:42 +0200 |
| commit | 0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750 (patch) | |
| tree | f3f7e801cf44904303633991c6deaa10cfb17d59 /API | |
| parent | e2171a923ab95ba031c08fe068a7e3ed73d0193d (diff) | |
| download | DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.tar DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.tar.gz DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.zip | |
FINALLY AUTOMAPPER SHIT WORKINGGGGG!!!
Diffstat (limited to 'API')
| -rw-r--r-- | API/Startup.cs | 10 |
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>();
- // }));
-
-
}
}
}
|
