Skip to content

Commit 2d00048

Browse files
authored
Removed the range validation attribute from the FxDestinationAmount. (#654)
1 parent 6c830d5 commit 2d00048

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/NoFrixion.MoneyMoov/Models/Payouts/PayoutCreate.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ public Guid? BeneficiaryID
240240
/// Optional but one of Amount or FxDestinationAmount must be set. If specified this will be the amount sent to the payee.
241241
/// The payout's Amount will be dynamically adjusted based on this amount and the FX rate.
242242
/// </summary>
243-
[Range(1.00, double.MaxValue, ErrorMessage = "Minimum value of 1.00 is required for FxDestinationAmount.")]
244243
public decimal? FxDestinationAmount { get; set; }
245244

246245
/// <summary>

src/NoFrixion.MoneyMoov/Models/Payouts/PayoutUpdate.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ public Guid? BeneficiaryID
216216
/// Optional but one of Amount or FxDestinationAmount must be set. If specified this will be the amount sent to the payee.
217217
/// The payout's Amount will be dynamically adjusted based on this amount and the FX rate.
218218
/// </summary>
219-
[Range(1.00, double.MaxValue, ErrorMessage = "Minimum value of 1.00 is required for FxDestinationAmount.")]
220219
public decimal? FxDestinationAmount { get; set; }
221220

222221
/// <summary>

0 commit comments

Comments
 (0)