Skip to content

Commit

Permalink
[Ordering.API] Added Scope for BasketCheckoutConsumer
Browse files Browse the repository at this point in the history
  • Loading branch information
hidayatarg committed Sep 16, 2023
1 parent 3d6eff4 commit d83c8c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Services/Ordering/Ordering.API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
});
});
builder.Services.AddAutoMapper(typeof(OrderingProfile));
builder.Services.AddScoped<BasketCheckoutConsumer>();

builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
Expand Down

0 comments on commit d83c8c2

Please sign in to comment.