mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
speicfy Automapper assemblies explicitly to resolve obsolete warning
This commit is contained in:
parent
3e7db7467e
commit
4dd5a2b528
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ public static void AddFilterListsApiServices(this IServiceCollection services, I
|
|||
services.TryAddScoped<SyntaxService>();
|
||||
services.TryAddScoped<TagService>();
|
||||
services.TryAddScoped<RuleService>();
|
||||
services.AddAutoMapper();
|
||||
services.AddAutoMapper(typeof(Service));
|
||||
}
|
||||
|
||||
public static void AddFilterListsAgentServices(this IServiceCollection services, IConfiguration config)
|
||||
|
|
@ -48,7 +48,7 @@ public static void AddFilterListsAgentServices(this IServiceCollection services,
|
|||
services.TryAddScoped<GitHubService>();
|
||||
services.TryAddScoped<SnapshotService>();
|
||||
services.TryAddScoped<Logger>();
|
||||
services.AddAutoMapper();
|
||||
services.AddAutoMapper(typeof(Service));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue