Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Fixed ArgumentOutOfRangeException message #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CoinpaprikaAPI/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public async Task<CoinPaprikaEntity<List<OhlcValue>>> 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();
Expand Down