Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
build(deps): remove deprecated NuGet packages and use new options
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Apr 6, 2021
1 parent 0fe573f commit 78d7168
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions Infrastructure/Infrastructure.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MercadoPagoCore" Version="5.0.0" />
<PackageReference Include="MercadoPagoCore.Extensions.Microsoft.DependencyInjection" Version="1.0.0" />
<PackageReference Include="MercadoPago.Extensions.Microsoft.DependencyInjection" Version="1.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.4" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.1.1" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Kaizen.Test/Controllers/ProductInvoicesControllerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Kaizen.Domain.Repositories;
using Kaizen.Models.ProductInvoice;
using Kaizen.Test.Helpers;
using MercadoPagoCore.Client.Payment;
using MercadoPago.Client.Payment;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Moq;
Expand Down
2 changes: 1 addition & 1 deletion Kaizen.Test/Controllers/ServiceInvoicesControllerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Kaizen.Domain.Repositories;
using Kaizen.Models.ServiceInvoice;
using Kaizen.Test.Helpers;
using MercadoPagoCore.Client.Payment;
using MercadoPago.Client.Payment;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Moq;
Expand Down
4 changes: 2 additions & 2 deletions Kaizen/Controllers/ProductInvoicesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
using Kaizen.Domain.Repositories;
using Kaizen.Models.Base;
using Kaizen.Models.ProductInvoice;
using MercadoPagoCore.Client.Payment;
using MercadoPagoCore.Resource.Payment;
using MercadoPago.Client.Payment;
using MercadoPago.Resource.Payment;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
Expand Down
4 changes: 2 additions & 2 deletions Kaizen/Controllers/ServiceInvoicesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
using Kaizen.Domain.Repositories;
using Kaizen.Models.Base;
using Kaizen.Models.ServiceInvoice;
using MercadoPagoCore.Client.Payment;
using MercadoPagoCore.Resource.Payment;
using MercadoPago.Client.Payment;
using MercadoPago.Resource.Payment;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
Expand Down
4 changes: 2 additions & 2 deletions Kaizen/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Kaizen.Extensions;
using Kaizen.Infrastructure.Extensions;
using MediatR;
using MercadoPagoCore;
using MercadoPago.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SpaServices.AngularCli;
Expand Down Expand Up @@ -31,7 +31,7 @@ public void ConfigureServices(IServiceCollection services)
services.RegisterDbContext(Configuration);
services.ConfigureRepositories();
services.AddIdentityConfig();
services.AddMercadoPagoCore(Configuration);
services.AddMercadoPago(Configuration);

services.AddJwtAuthentication(Configuration);
services.ConfigureTokenGenerator();
Expand Down

0 comments on commit 78d7168

Please sign in to comment.