From f367acae9df31ca6a4f9be02c9024bbe89c30369 Mon Sep 17 00:00:00 2001 From: Darki93 <51802269+Darki93@users.noreply.github.com> Date: Fri, 7 Jan 2022 01:47:52 +0100 Subject: [PATCH] Fixed ArgumentOutOfRangeException message Fixed wrong number in ArgumentOutOfRangeException message for GetHistoricalOhlcForCoinAsync() --- CoinpaprikaAPI/Client.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoinpaprikaAPI/Client.cs b/CoinpaprikaAPI/Client.cs index 1144070..8de9f69 100644 --- a/CoinpaprikaAPI/Client.cs +++ b/CoinpaprikaAPI/Client.cs @@ -238,7 +238,7 @@ public async Task>> GetHistoricalOhlcForCoinAs throw new NotSupportedException("id must be defined"); if (limit < 1 || limit > 366) - throw new ArgumentOutOfRangeException(nameof(limit), "limit must be between 1 and 250"); + throw new ArgumentOutOfRangeException(nameof(limit), "limit must be between 1 and 366"); var client = BaseClient.GetClient();