From ff40aa46b46e0b185af55216b3be62280ee1f766 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Mon, 11 Nov 2024 09:13:45 +0100 Subject: [PATCH] Fixed deserialization issue in okxRestClient.UnifiedApi.ExchangeData.GetDiscountInfoAsync --- OKX.Net/Objects/Public/OKXDiscountInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OKX.Net/Objects/Public/OKXDiscountInfo.cs b/OKX.Net/Objects/Public/OKXDiscountInfo.cs index 15ff847..a4e92ee 100644 --- a/OKX.Net/Objects/Public/OKXDiscountInfo.cs +++ b/OKX.Net/Objects/Public/OKXDiscountInfo.cs @@ -21,7 +21,7 @@ public record OKXDiscountInfo /// Discount level /// [JsonPropertyName("discountLv")] - public int DiscountLevel { get; set; } + public int? DiscountLevel { get; set; } /// /// Minimal discount rate