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

Commit

Permalink
refactor(back-end): change the configuration of MercadoPagoCore
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Jan 18, 2021
1 parent 743269c commit de5b7ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kaizen/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Kaizen.Extensions;
using Kaizen.Infrastructure.Extensions;
using MediatR;
using MercadoPagoCore.Extensions;
using MercadoPagoCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SpaServices.AngularCli;
Expand Down Expand Up @@ -32,7 +32,7 @@ public void ConfigureServices(IServiceCollection services)
services.AddEntityFramework(Configuration);
services.ConfigureRepositories();
services.AddIdentityConfig();
services.AddMercadoPagoCore(Configuration["MercadoPagoCore:AccessToken"]);
services.AddMercadoPagoCore(Configuration);

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

0 comments on commit de5b7ed

Please sign in to comment.