Skip to content

Commit

Permalink
Fix Application layer DI
Browse files Browse the repository at this point in the history
  • Loading branch information
robsmitha committed Aug 26, 2024
1 parent de26e28 commit 00db2e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Application/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ namespace Elysian.Application
{
public static class DependencyInjection
{
public static IServiceCollection AddApplication(this IServiceCollection services, Assembly assembly)
public static IServiceCollection AddApplication(this IServiceCollection services)
{
var assembly = Assembly.GetExecutingAssembly();

services.AddAutoMapper(cfg =>
{
cfg.AddMaps(assembly);
Expand Down

0 comments on commit 00db2e5

Please sign in to comment.