From 240f6fa45a6275c85d2e8ca966a32ef221b4f6bd Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 15 Nov 2019 18:10:14 +0900 Subject: [PATCH] Allow /rates to pass storeId --- BTCPayServer/Controllers/RateController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Controllers/RateController.cs b/BTCPayServer/Controllers/RateController.cs index 28ed5cc5c..60adbc14e 100644 --- a/BTCPayServer/Controllers/RateController.cs +++ b/BTCPayServer/Controllers/RateController.cs @@ -85,9 +85,9 @@ namespace BTCPayServer.Controllers [Route("rates")] [HttpGet] [BitpayAPIConstraint] - public async Task GetRates(string currencyPairs, CancellationToken cancellationToken) + public async Task GetRates(string currencyPairs, string storeId, CancellationToken cancellationToken) { - var result = await GetRates2(currencyPairs, null, cancellationToken); + var result = await GetRates2(currencyPairs, storeId, cancellationToken); var rates = (result as JsonResult)?.Value as Rate[]; if (rates == null) return result;