Skip to content

Commit

Permalink
feat: add automapper in configure services
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Jul 8, 2021
1 parent ec6b9f3 commit 205a08e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Armory.Api/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public void ConfigureServices(IServiceCollection services)
services.AddApplication()
.AddInfrastructure(Configuration)
.AddSwagger()
.AddJwtAuthentication(Configuration);
.AddJwtAuthentication(Configuration)
.AddAutoMapper(typeof(Startup));
}

// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
Expand Down

0 comments on commit 205a08e

Please sign in to comment.