From 74502b1d107436849306885d5da4035624cb5d7f Mon Sep 17 00:00:00 2001 From: sonvister Date: Tue, 8 May 2018 09:49:54 -0500 Subject: [PATCH] Fixes #91 --- src/Binance/Extensions/CandlestickIntervalExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Binance/Extensions/CandlestickIntervalExtensions.cs b/src/Binance/Extensions/CandlestickIntervalExtensions.cs index 390b81ea..80b54caa 100644 --- a/src/Binance/Extensions/CandlestickIntervalExtensions.cs +++ b/src/Binance/Extensions/CandlestickIntervalExtensions.cs @@ -30,7 +30,7 @@ public static string AsString(this CandlestickInterval interval) case CandlestickInterval.Week: return "1w"; case CandlestickInterval.Month: return "1M"; default: - throw new ArgumentException($"{nameof(CandlestickIntervalExtensions)}.{nameof(ToString)}: {nameof(CandlestickInterval)} not supported: {interval}"); + throw new ArgumentException($"{nameof(CandlestickIntervalExtensions)}.{nameof(AsString)}: {nameof(CandlestickInterval)} not supported: {interval}"); } } }