From f30cc7dc474207bdf547236e09884674dfeb76cc Mon Sep 17 00:00:00 2001 From: cryptooda Date: Tue, 7 Oct 2025 02:34:42 +0700 Subject: [PATCH] Fix get tickers --- src/Managing.Api/Controllers/DataController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Managing.Api/Controllers/DataController.cs b/src/Managing.Api/Controllers/DataController.cs index 486114b2..bbfda255 100644 --- a/src/Managing.Api/Controllers/DataController.cs +++ b/src/Managing.Api/Controllers/DataController.cs @@ -84,8 +84,8 @@ public class DataController : ControllerBase /// /// The timeframe for which to retrieve tickers. /// An array of tickers. - [HttpPost("GetTickers")] - public async Task>> GetTickers(Timeframe timeframe) + [HttpGet("GetTickers")] + public async Task>> GetTickers([FromQuery] Timeframe timeframe) { var cacheKey = string.Concat(timeframe.ToString()); var tickers = _cacheService.GetValue>(cacheKey);