Skip to content

Commit

Permalink
Fix typo in conversion endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaimoiseanu committed Feb 22, 2024
1 parent 7b431ec commit 7345342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MangoPay.SDK.Tests/ApiInstantConversionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private async Task<InstantConversionDTO> CreateInstantConversion()
john.Id,
debitedWallet.Id,
creditedWallet.Id,
new Money { Amount = 79, Currency = CurrencyIso.EUR },
new Money { Amount = 30, Currency = CurrencyIso.EUR },
new Money { Currency = CurrencyIso.GBP },
"create instant conversion"
);
Expand Down
6 changes: 3 additions & 3 deletions MangoPay.SDK/Core/APIs/ApiBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ public abstract class ApiBase
{ MethodKey.DepositsGet,new ApiEndPoint("/deposit-preauthorizations/{0}",RequestType.GET)},
{ MethodKey.DepositsCancel,new ApiEndPoint("/deposit-preauthorizations/{0}",RequestType.PUT)},

{ MethodKey.GetConversionRate,new ApiEndPoint("/conversion/rate/{0}/{1}",RequestType.GET)},
{ MethodKey.CreateInstantConversion,new ApiEndPoint("/instant-conversion",RequestType.POST)},
{ MethodKey.GetInstantConversion,new ApiEndPoint("/instant-conversion/{0}",RequestType.GET)}
{ MethodKey.GetConversionRate,new ApiEndPoint("/conversions/rate/{0}/{1}",RequestType.GET)},
{ MethodKey.CreateInstantConversion,new ApiEndPoint("/conversions/instant-conversion",RequestType.POST)},
{ MethodKey.GetInstantConversion,new ApiEndPoint("/conversions/{0}",RequestType.GET)}
};

/// <summary>Creates new API instance.</summary>
Expand Down

0 comments on commit 7345342

Please sign in to comment.