aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Startup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r--Timeline/Startup.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs
index 76d77e8e..35c47712 100644
--- a/Timeline/Startup.cs
+++ b/Timeline/Startup.cs
@@ -62,10 +62,7 @@ namespace Timeline
services.AddScoped<IPathProvider, PathProvider>();
- services.AddAutoMapper((config) =>
- {
- config.CreateMap<Guid, string>().ConvertUsing(guid => guid.ToString());
- }, GetType().Assembly);
+ services.AddAutoMapper(GetType().Assembly);
services.AddTransient<IClock, Clock>();